1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-01 05:19:48 +08:00

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

This commit is contained in:
lainlee 2020-01-02 16:53:51 +08:00
parent d634e2ae2f
commit 704937ebb0

View File

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