src/layout/components/Navbar.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/router/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/layout/components/Navbar.vue
@@ -99,7 +99,7 @@ }) .then(() => { userStore.logOut().then(() => { location.href = "/index"; location.href = "/sqys-web/index"; }); }) .catch(() => {}); 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) {