[fix] 修复 redirect 页面重定向,对于嵌套路由为[空子路由]的情况时刷新失败
This commit is contained in:
parent
d634e2ae2f
commit
704937ebb0
|
@ -45,7 +45,7 @@ export const constantRoutes = [
|
||||||
hidden: true,
|
hidden: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/redirect/:path*',
|
path: '/redirect/:path(.*)',
|
||||||
component: () => import('@/views/redirect/index')
|
component: () => import('@/views/redirect/index')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue