修复右击刷新选项卡404的问题

This commit is contained in:
zhengjie
2019-03-01 11:31:23 +08:00
parent 5d4f990368
commit 97b7367694
3 changed files with 34 additions and 0 deletions

View File

@@ -35,6 +35,17 @@ export const constantRouterMap = [
component: () => import('@/views/errorPage/401'),
hidden: true
},
{
path: '/redirect',
component: Layout,
hidden: true,
children: [
{
path: '/redirect/:path*',
component: () => import('@/views/redirect/index')
}
]
},
{
path: '/',
component: Layout,