优化 cdn
Former-commit-id: c8ae44e41431eaea271dc9a540b42f2989973c63 Former-commit-id: 0369fc58b7831e26856b4420515f5474b9b9baa6 Former-commit-id: eb67ae970c2bde2a1548e6391d71993d5101cd3b Former-commit-id: 794f10cffd1b4231d7845fca06b2846836af81f2 [formerly 77db2f9f48e23fcac300ba7bbb4575017be60fe5] Former-commit-id: 4bb84b8a7988e24c34fa52cd55854150685dd87b Former-commit-id: acdc488249ed128515b1535550386798cc073331 Former-commit-id: 97a280dce9b99c586e0abe6becd0691ebc566168 Former-commit-id: 2ac90ba4f392b40691f6d2f829aaa398ed9c11cd Former-commit-id: cfae347f60ef1e46b3035b374cf175a3b57ab1dc
This commit is contained in:
@@ -14,11 +14,11 @@ import routes from './routes'
|
||||
// fix vue-router NavigationDuplicated
|
||||
const VueRouterPush = VueRouter.prototype.push
|
||||
VueRouter.prototype.push = function push (location) {
|
||||
return VueRouterPush.call(this, location).catch(err => err)
|
||||
return VueRouterPush.call(this, location)
|
||||
}
|
||||
const VueRouterReplace = VueRouter.prototype.replace
|
||||
VueRouter.prototype.replace = function replace (location) {
|
||||
return VueRouterReplace.call(this, location).catch(err => err)
|
||||
return VueRouterReplace.call(this, location)
|
||||
}
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
||||
Reference in New Issue
Block a user