|
|
@ -7,7 +7,7 @@ |
|
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
|
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
|
|
|
typeof define === 'function' && define.amd ? define(factory) : |
|
|
|
typeof define === 'function' && define.amd ? define(factory) : |
|
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory()); |
|
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory()); |
|
|
|
}(this, (function () { 'use strict'; |
|
|
|
}(this, (function () { 'use strict'; |
|
|
|
|
|
|
|
|
|
|
|
/* */ |
|
|
|
/* */ |
|
|
|
|
|
|
|
|
|
|
@ -1689,7 +1689,6 @@ |
|
|
|
warn(false, ("invalid redirect option: " + (JSON.stringify(redirect)))); |
|
|
|
warn(false, ("invalid redirect option: " + (JSON.stringify(redirect)))); |
|
|
|
} |
|
|
|
} |
|
|
|
return _createRoute(null, location) |
|
|
|
return _createRoute(null, location) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -3129,7 +3128,7 @@ |
|
|
|
this.$router = this._router = BI.Router.$router = $router = new VueRouter({ |
|
|
|
this.$router = this._router = BI.Router.$router = $router = new VueRouter({ |
|
|
|
routes: this.options.routes, |
|
|
|
routes: this.options.routes, |
|
|
|
mode: this.options.mode, |
|
|
|
mode: this.options.mode, |
|
|
|
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) { |
|
|
@ -3203,4 +3202,5 @@ |
|
|
|
BI.Router.isSameRoute = isSameRoute; |
|
|
|
BI.Router.isSameRoute = isSameRoute; |
|
|
|
return VueRouter; |
|
|
|
return VueRouter; |
|
|
|
|
|
|
|
|
|
|
|
}))); |
|
|
|
}))); |
|
|
|
|
|
|
|
|
|
|
|