Browse Source

固定重定向路径表达式

RuoYi 5 years ago
parent
commit
61142595c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-ui/src/router/index.js

+ 1 - 1
ruoyi-ui/src/router/index.js

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