From 3c496c263fca58417fa9b35beb9707ad147e6c7d Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期一, 22 七月 2024 15:01:33 +0800 Subject: [PATCH] Merge branch 'main' of http://218.28.192.34:9999/r/sqys/sqys_web --- src/layout/components/Navbar.vue | 2 +- src/router/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 09f700f..637788c 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -99,7 +99,7 @@ }) .then(() => { userStore.logOut().then(() => { - location.href = "/index"; + location.href = "/sqys-web/index"; }); }) .catch(() => {}); diff --git a/src/router/index.ts b/src/router/index.ts index a6769dd..7796cc6 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -166,7 +166,7 @@ ]; const router = createRouter({ - history: createWebHistory(), + history: createWebHistory("/sqys-web/"), routes: constantRoutes, scrollBehavior(to, from, savedPosition) { if (savedPosition) { -- Gitblit v1.9.1