Commit 61142595c4e32a64edb2d9cd20311648691c1873
1 parent
af7aa358
固定重定向路径表达式
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/router/index.js
| @@ -32,7 +32,7 @@ export const constantRoutes = [ | @@ -32,7 +32,7 @@ export const constantRoutes = [ | ||
| 32 | hidden: true, | 32 | hidden: true, |
| 33 | children: [ | 33 | children: [ |
| 34 | { | 34 | { |
| 35 | - path: '/redirect/:path*', | 35 | + path: '/redirect/:path(.*)', |
| 36 | component: () => import('@/views/redirect') | 36 | component: () => import('@/views/redirect') |
| 37 | } | 37 | } |
| 38 | ] | 38 | ] |