Przeglądaj źródła

固定重定向路径表达式

RuoYi 5 lat temu
rodzic
commit
61142595c4
1 zmienionych plików z 1 dodań i 1 usunięć
  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')
       }
     ]