From d27ac067f8529b6345a8c4a12d463387be5b74be Mon Sep 17 00:00:00 2001 From: ZQN <364596817@qq.com> Date: 星期一, 08 七月 2024 18:10:33 +0800 Subject: [PATCH] 项目路径 --- src/router/index.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 1971ea6..4242757 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -60,7 +60,7 @@ { path: "", component: Layout, - redirect: "/index", + redirect: "/home", children: [ // { // path: "/index", @@ -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