This commit is contained in:
yumoqing 2024-08-29 10:44:47 +08:00
parent a3a3bc5ffc
commit a274607ee8

View File

@ -63,7 +63,7 @@ bricks.Menu = class extends bricks.VBox {
this.create_children(w1, item.items);
subw.bind('click', w1.toggle_hide.bind(w1));
} else {
subw.bind('click', this.menu_clicked.bind(this))
subw.bind('click', this.menu_clicked.bind(this, item))
w.add_widget(subw);
}
}