清理刷新路由时出现的warning
This commit is contained in:
@@ -13,6 +13,13 @@ const routes = [{
|
||||
path: '/login',
|
||||
name: 'Login',
|
||||
component: () => import('@/view/login/index.vue')
|
||||
},
|
||||
{
|
||||
path: '/:catchAll(.*)',
|
||||
meta: {
|
||||
closeTab: true,
|
||||
},
|
||||
component: () => import('@/view/error/index.vue')
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user