diff --git a/src/router/index.ts b/src/router/index.ts index 59bc1aa..64cfe8a 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -82,7 +82,7 @@ const constantRoutes = [ export const router = createRouter({ - history: createWebHistory(), + history: createWebHistory('/system/'), routes: constantRoutes, // 切换路由跳转到顶部 scrollBehavior() {