diff --git a/bricks/jsoncall.js b/bricks/jsoncall.js index fbbb15f..ad2aeb8 100644 --- a/bricks/jsoncall.js +++ b/bricks/jsoncall.js @@ -52,8 +52,6 @@ bricks.HttpText = class { width = bricks.app.screenWidth(); height = bricks.app.screenHeight(); } - console.log('=====bricks.app=', bricks.app); - this.params = { "_webbricks_":1, "_width":width, diff --git a/bricks/menu.js b/bricks/menu.js index 501473d..453fa14 100644 --- a/bricks/menu.js +++ b/bricks/menu.js @@ -83,6 +83,8 @@ bricks.Menu = class extends bricks.VScrollPanel { console.log('menu item define error', opts); } f.bind(t, this)(event); + } else { + console.log('********** menu item configured error *******'); } } else { console.log('menu_clicked():', this.target, 'not found') @@ -100,12 +102,6 @@ bricks.Menu = class extends bricks.VScrollPanel { console.log(w, items, 'container is null'); return; } - if (w == this){ - console.log('build menu children called'); - } else { - console.log('gggggg', items, w); - console.trace('调用栈:'); - } for (let i=0;i