From 5ecb7958c96d3f0b6d47b79aff7eb306c2cf690f Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期二, 06 八月 2024 11:16:58 +0800
Subject: [PATCH] gitlab上面的wms转移到公司git

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

diff --git a/src/router/index.js b/src/router/index.js
index 9eb031e..05e7373 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -113,7 +113,7 @@
 // 瀵煎嚭璺敱 鍦� main.js 閲屼娇鐢�
 const createRouter = () =>
   new Router({
-    mode: "history",
+    mode: "hash",
     // base: window.getServerJson.context,
     scrollBehavior: () => ({ y: 0 }),
     routes: constantRoutes
@@ -188,8 +188,7 @@
       // window.sessionStorage.removeItem("routeName")
     }
   }
-  
-})
+});
 // router.beforeEach((to, from, next) => {
 // must call `next`
 // console.log(to, from)

--
Gitblit v1.8.0