|
|
@ -3194,7 +3194,8 @@ |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
destroyed: function () { |
|
|
|
destroyed: function () { |
|
|
|
BI.remove(cbs, this._callbackListener); |
|
|
|
// BI.remove方法会把第二个参数当迭代器执行导致方法多执行一遍
|
|
|
|
|
|
|
|
cbs.splice(cbs.indexOf(this._callbackListener), 1); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.shortcut("bi.router_view", BI.RouterView); |
|
|
|
BI.shortcut("bi.router_view", BI.RouterView); |
|
|
|