dijit/layout/TabContainer tab页添加改变事件 dojo.connect(_this.mainTab.tablist,"onSelectChild",lang.hitch(_this, "switchTab"));switchTab: function (a) {this.curTab = a.id;}
dojo.connect(_this.mainTab.tablist,"onSelectChild",lang.hitch(_this, "switchTab")); switchTab: function (a) { this.curTab = a.id; }