This commit is contained in:
yumoqing 2024-08-20 18:08:04 +08:00
parent 8993b0efef
commit bba72ea544

View File

@ -26,7 +26,7 @@ bricks.Menu = class extends bricks.VBox {
console.log('menu_clicked(): item=', item, item.opts, item.url);
if (!item.url){
console.log('itme.url is null');
this.bind('command', item.opts);
this.dispatch('command', item.opts);
return;
}
var t = bricks.getWidgetById(this.target);