From 9d3f1aa7571cd532c0c27bf8376ebf4b2178a252 Mon Sep 17 00:00:00 2001
From: charles <981744753@qq.com>
Date: 星期三, 24 七月 2024 17:45:45 +0800
Subject: [PATCH] fix:解决srm之前改了域名,处理各种异常状态,跳转也会出现异常等问题。

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

diff --git a/src/router/index.js b/src/router/index.js
index 3bb911a..64070cf 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -101,7 +101,7 @@
 // 瀵煎嚭璺敱 鍦� main.js 閲屼娇鐢�
 const createRouter = () =>
   new Router({
-    mode: "history",
+    mode: "hash",
     // base: window.getServerJson.context,
     scrollBehavior: () => ({ y: 0 }),
     routes: constantRoutes

--
Gitblit v1.8.0