From af8b5f6a8d9cfbb61fe2af7cdcdc85c98e9f4288 Mon Sep 17 00:00:00 2001 From: zguiy <1415466602@qq.com> Date: Sat, 28 Jun 2025 22:54:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E6=88=90hash?= 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 ec2c778..892dea5 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,8 +1,8 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import HomeView from '@/views/HomeView.vue' const router = createRouter({ - history: createWebHistory('/'), + history: createWebHashHistory(), routes: [ { path: '/', -- 2.49.0