沈丘营商办后台前端项目
wjt
2024-07-22 3c496c263fca58417fa9b35beb9707ad147e6c7d
Merge branch 'main' of http://218.28.192.34:9999/r/sqys/sqys_web
2个文件已修改
4 ■■■■ 已修改文件
src/layout/components/Navbar.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.ts 2 ●●● 补丁 | 查看 | 原始文档 | 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) {