From dc4832ad5b22aa5d10f353450e55211f3edd5553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B0=8F=E6=96=90?= <623536309@qq.com> Date: Sat, 11 Jan 2020 10:25:59 +0800 Subject: [PATCH] fix: fixed redirect path regex (#2933) --- src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 0d9d9b8b..c45af999 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -45,7 +45,7 @@ export const constantRoutes = [ hidden: true, children: [ { - path: '/redirect/:path*', + path: '/redirect/:path(.*)', component: () => import('@/views/redirect/index') } ]