From f8037c23ba889d8a5640bf0faf6861d18fbebb3c Mon Sep 17 00:00:00 2001 From: urrrich Date: Mon, 6 Dec 2021 15:57:21 +0800 Subject: [PATCH] =?UTF-8?q?[fix]logo=E8=B7=B3=E8=BD=AC404=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 7bd960b..a99b3a5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -57,7 +57,7 @@ export const constantRoutes = [ { path: '', component: Layout, - redirect: 'index', + redirect: '/index', children: [ { path: '/index', @@ -160,4 +160,4 @@ const router = createRouter({ }, }); -export default router; \ No newline at end of file +export default router;