From 1788c96aea9247cc36ef8b82734997f1a6a92fb4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 23 八月 2024 11:07:42 +0800
Subject: [PATCH] 新增新版本。静安区特供版

---
 src/router/index.js |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index a5d2520..1c06db5 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,11 +1,12 @@
-import { createRouter, createWebHistory } from 'vue-router';
+import { createRouter, createWebHashHistory } from 'vue-router';
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  // history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(),
   routes: [
     {
       path: '/',
-      redirect: '/index/hmode'
+      redirect: '/login'
     },
     // 鐧婚檰椤甸潰
     {
@@ -24,6 +25,11 @@
           name: 'historyMode',
           component: () => import('@/views/historymode/HistoryMode.vue')
         },
+        {
+          path: 'hmode2',
+          name: 'historyMode2',
+          component: () => import('@/views/historymode/HistoryMode2.vue')
+        },
         // 璧拌埅鐩戞祴
         {
           path: 'rmode',

--
Gitblit v1.9.3