From a5e9d9853f0d82195b66890f8c7b263a6def773a Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 5 Sep 2025 13:08:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E4=B8=BA=20Hash=20=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.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 90d065c..9ebbcb1 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,8 +1,8 @@ -import { createRouter, createWebHistory } from "vue-router"; +import { createRouter, createWebHashHistory } from "vue-router"; import { installRouteGuard } from "../utils/routeGuard.js"; const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: "/",