清理刷新路由时出现的warning

This commit is contained in:
piexlmax
2023-03-18 14:21:34 +08:00
parent 80077ba94d
commit 8049466dff
2 changed files with 7 additions and 14 deletions
+7
View File
@@ -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')
}
]