Commit 361a189f6afbebe364ff1cc224b9048490078061
Committed by
GitHub
1 parent
19fd49e2
fix: 修复未传参(params)的时,redo失效的问题 (#2826)
Co-authored-by: kelvin <kyun.wang@jodoinc.com>
Showing
1 changed file
with
1 additions
and
1 deletions
src/router/routes/basic.ts
@@ -42,7 +42,7 @@ export const REDIRECT_ROUTE: AppRouteRecordRaw = { | @@ -42,7 +42,7 @@ export const REDIRECT_ROUTE: AppRouteRecordRaw = { | ||
42 | }, | 42 | }, |
43 | children: [ | 43 | children: [ |
44 | { | 44 | { |
45 | - path: '/redirect/:path(.*)/:_redirect_type(.*)/:_origin_params(.*)', | 45 | + path: '/redirect/:path(.*)/:_redirect_type(.*)/:_origin_params(.*)?', |
46 | name: REDIRECT_NAME, | 46 | name: REDIRECT_NAME, |
47 | component: () => import('/@/views/sys/redirect/index.vue'), | 47 | component: () => import('/@/views/sys/redirect/index.vue'), |
48 | meta: { | 48 | meta: { |