tab drag
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)
|
||||
return VueRouterPush.call(this, location).catch(err => err)
|
||||
}
|
||||
const VueRouterReplace = VueRouter.prototype.replace
|
||||
VueRouter.prototype.replace = function replace (location) {
|
||||
return VueRouterReplace.call(this, location)
|
||||
return VueRouterReplace.call(this, location).catch(err => err)
|
||||
}
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
||||
@@ -26,6 +26,7 @@ const frameIn = [
|
||||
path: 'index',
|
||||
name: 'index',
|
||||
meta: {
|
||||
title: '首页',
|
||||
auth: true
|
||||
},
|
||||
component: _import('system/index')
|
||||
|
||||
Reference in New Issue
Block a user