From 408ce401cadce66e4de748dec48daf5e8af00477 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期三, 15 五月 2024 23:35:52 +0800
Subject: [PATCH] 1

---
 src/router/index.ts |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index 9664723..3a6e220 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -4,12 +4,8 @@
 const Login = () => import('@/views/login.vue')
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(import.meta.env.BASE_URL),
   routes: [
-    {
-      path: '/',
-      redirect: 'home'
-    },
     {
       path: '/login',
       name: 'login',

--
Gitblit v1.9.1