@ -7,10 +7,6 @@ Demo.Center = BI.inherit(BI.Widget, {
return {
type: "bi.router_view"
}
},
setValue: function (v) {
// this.tab.setSelect(v);
});
BI.shortcut("demo.center", Demo.Center);
@ -7,12 +7,6 @@ Demo.Main = BI.inherit(BI.Widget, {
return BI.Stores.getStore("demo.store.main");
watch: {
activeCard: function (v) {
this.center.setValue(v);
beforeInit: function (cb) {
this.store.init(cb);
@ -42,7 +42,6 @@
handleTreeSelectChange: function (v) {
this.model.activeCard = v;
var matched = BI.some(Demo.CONFIG, function (index, item) {
if (item.value === v) {
BI.router.push(item.text);