[fix] 修复 redirect 页面重定向,对于嵌套路由为[空子路由]的情况时刷新失败

This commit is contained in:
lainlee 2020-01-02 16:53:51 +08:00
parent d634e2ae2f
commit 704937ebb0
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ export const constantRoutes = [
hidden: true,
children: [
{
path: '/redirect/:path*',
path: '/redirect/:path(.*)',
component: () => import('@/views/redirect/index')
}
]