From 0499e36a5b3dd6e33619b7a0306e3db543ddae23 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 10 Sep 2025 14:11:24 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 8d57ace..d53a0e3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,5 +1,5 @@ import type { App } from "vue"; -import { createRouter, createWebHashHistory, type RouteRecordRaw } from "vue-router"; +import { createRouter, createWebHashHistory, createWebHistory, type RouteRecordRaw } from "vue-router"; export const Layout = () => import("@/layout/index.vue"); @@ -676,7 +676,7 @@ export const constantRoutes: RouteRecordRaw[] = [ * 创建路由 */ const router = createRouter({ - history: createWebHashHistory(), + history: createWebHistory(), routes: constantRoutes, // 刷新时,滚动条位置还原 scrollBehavior: () => ({ left: 0, top: 0 }), From 723902ac095a293195fab6f88dec5853f8108337 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 10 Sep 2025 14:11:41 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=80=E7=BA=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Sidebar/components/SidebarMenuItem.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/layout/components/Sidebar/components/SidebarMenuItem.vue b/src/layout/components/Sidebar/components/SidebarMenuItem.vue index 7e5fff0..078ea45 100644 --- a/src/layout/components/Sidebar/components/SidebarMenuItem.vue +++ b/src/layout/components/Sidebar/components/SidebarMenuItem.vue @@ -29,11 +29,7 @@ -