diff --git a/src/router/router.js b/src/router/router.js index 4d296f124..40ca8f3c4 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -3194,7 +3194,8 @@ }; }, destroyed: function () { - BI.remove(cbs, this._callbackListener); + // BI.remove方法会把第二个参数当迭代器执行导致方法多执行一遍 + cbs.splice(cbs.indexOf(this._callbackListener), 1); } }); BI.shortcut("bi.router_view", BI.RouterView);