|
|
|
@ -1689,7 +1689,6 @@
|
|
|
|
|
warn(false, ("invalid redirect option: " + (JSON.stringify(redirect)))); |
|
|
|
|
} |
|
|
|
|
return _createRoute(null, location) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -3129,7 +3128,7 @@
|
|
|
|
|
this.$router = this._router = BI.Router.$router = $router = new VueRouter({ |
|
|
|
|
routes: this.options.routes, |
|
|
|
|
mode: this.options.mode, |
|
|
|
|
base: this.options.base, |
|
|
|
|
base: this.options.base |
|
|
|
|
}); |
|
|
|
|
this.$router.beforeEach(function (to, from, next) { |
|
|
|
|
if (to.matched.length === 0) { |
|
|
|
@ -3204,3 +3203,4 @@
|
|
|
|
|
return VueRouter; |
|
|
|
|
|
|
|
|
|
}))); |
|
|
|
|
|
|
|
|
|