From 98918eb9b6345f9a1dee43905e501aff175d4027 Mon Sep 17 00:00:00 2001 From: Cxx0822 <1556464090@qq.com> Date: Sun, 21 Sep 2025 10:38:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 57e0dfd..340d4d8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -9,7 +9,7 @@ const routes: RouteRecordRaw[] = Object.values(routeModules) .flat() // 扁平化数组,确保所有路由项都在一个数组中 const router = createRouter({ - history: createWebHashHistory('/blog/'), + history: createWebHashHistory(), scrollBehavior: () => ({ top: 0 }), routes })