This commit is contained in:
yumoqing 2024-08-28 18:14:11 +08:00
parent 4d72b02899
commit 59358b4692

View File

@ -12,7 +12,6 @@ bricks.Menu = class extends bricks.VBox {
this.dom_element.style.display = ""; this.dom_element.style.display = "";
this.dom_element.style.backgroundColor = options.bgcolor || "white"; this.dom_element.style.backgroundColor = options.bgcolor || "white";
this.create_children(this, this.opts.items); this.create_children(this, this.opts.items);
this.bind('item_click', this.menu_clicked.bind(this));
} }
create_submenu_container(){ create_submenu_container(){
let cp = new bricks.VBox({}); let cp = new bricks.VBox({});