From ac03526ea51cb1baae67ab7dd2ee1e085f6a57a4 Mon Sep 17 00:00:00 2001
From: java2sap <39330069+sapuser2017@users.noreply.github.com>
Date: 星期五, 31 十二月 2021 13:33:50 +0800
Subject: [PATCH] Update vite.config.js
---
src/router/index.js | 4 ++--
1 files 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 @@
{
path: '',
component: Layout,
- redirect: 'index',
+ redirect: '/index',
children: [
{
path: '/index',
@@ -160,4 +160,4 @@
},
});
-export default router;
\ No newline at end of file
+export default router;
--
Gitblit v1.9.3