From 30605ea2c8e9683e8202cd531de84ce98fd7be75 Mon Sep 17 00:00:00 2001
From: litian <2804272236@qq.com>
Date: 星期五, 17 五月 2024 15:56:44 +0800
Subject: [PATCH] biji

---
 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