From e1f445ce007482b8387828ef0c1356902a5d4a1e Mon Sep 17 00:00:00 2001 From: ZQN <364596817@qq.com> Date: 星期一, 08 七月 2024 18:48:00 +0800 Subject: [PATCH] 退出 --- src/router/index.ts | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index ab58e99..4242757 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -60,14 +60,14 @@ { path: "", component: Layout, - redirect: "/index", + redirect: "/home", children: [ - { - path: "/index", - component: () => import("@/views/index.vue"), - name: "Index", - meta: { title: "鍑戒欢淇℃伅", icon: "dashboard", affix: true }, - }, + // { + // path: "/index", + // component: () => import("@/views/index.vue"), + // name: "Index", + // meta: { title: "鍑戒欢淇℃伅", icon: "dashboard", affix: true }, + // }, ], }, { @@ -161,7 +161,7 @@ ]; const router = createRouter({ - history: createWebHistory(), + history: createWebHistory("/sqys-web/"), routes: constantRoutes, scrollBehavior(to, from, savedPosition) { if (savedPosition) { -- Gitblit v1.9.1