|
|
@ -3128,7 +3128,7 @@ |
|
|
|
this.$router = this._router = BI.Router.$router = $router = new VueRouter({ |
|
|
|
this.$router = this._router = BI.Router.$router = $router = new VueRouter({ |
|
|
|
mode: this.options.mode, |
|
|
|
mode: this.options.mode, |
|
|
|
routes: this.options.routes, |
|
|
|
routes: this.options.routes, |
|
|
|
base: this.options.base |
|
|
|
base: this.options.base, |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.$router.beforeEach(function (to, from, next) { |
|
|
|
this.$router.beforeEach(function (to, from, next) { |
|
|
|
if (to.matched.length === 0) { |
|
|
|
if (to.matched.length === 0) { |
|
|
|