bugfix
This commit is contained in:
parent
f9fa797ada
commit
8e29d67ba7
@ -52,8 +52,6 @@ bricks.HttpText = class {
|
|||||||
width = bricks.app.screenWidth();
|
width = bricks.app.screenWidth();
|
||||||
height = bricks.app.screenHeight();
|
height = bricks.app.screenHeight();
|
||||||
}
|
}
|
||||||
console.log('=====bricks.app=', bricks.app);
|
|
||||||
|
|
||||||
this.params = {
|
this.params = {
|
||||||
"_webbricks_":1,
|
"_webbricks_":1,
|
||||||
"_width":width,
|
"_width":width,
|
||||||
|
|||||||
@ -83,6 +83,8 @@ bricks.Menu = class extends bricks.VScrollPanel {
|
|||||||
console.log('menu item define error', opts);
|
console.log('menu item define error', opts);
|
||||||
}
|
}
|
||||||
f.bind(t, this)(event);
|
f.bind(t, this)(event);
|
||||||
|
} else {
|
||||||
|
console.log('********** menu item configured error *******');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log('menu_clicked():', this.target, 'not found')
|
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');
|
console.log(w, items, 'container is null');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (w == this){
|
|
||||||
console.log('build menu children called');
|
|
||||||
} else {
|
|
||||||
console.log('gggggg', items, w);
|
|
||||||
console.trace('调用栈:');
|
|
||||||
}
|
|
||||||
for (let i=0;i<items.length;i++){
|
for (let i=0;i<items.length;i++){
|
||||||
let item = items[i];
|
let item = items[i];
|
||||||
let subw = this.create_menuitem(item);
|
let subw = this.create_menuitem(item);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user