This commit is contained in:
yumoqing 2024-06-29 20:17:22 +08:00
parent 5bb8c5b495
commit e322892465

View File

@ -76,7 +76,7 @@ bricks.TabPanel = class extends bricks.Layout {
this.toolbar.bind('ready', this.show_first_tab.bind(this)); this.toolbar.bind('ready', this.show_first_tab.bind(this));
this.tab_container.add_widget(this.toolbar); this.tab_container.add_widget(this.toolbar);
} }
show_tabcontent = async function(event){ async show_tabcontent(event){
var tdesc = event.params; var tdesc = event.params;
var items = this.opts.items; var items = this.opts.items;
if (tdesc.name == this.cur_tab_name){ if (tdesc.name == this.cur_tab_name){