From 80dc03923ab525837b12f865fcc7542ee71cf30b Mon Sep 17 00:00:00 2001 From: ting Date: Fri, 20 Dec 2024 19:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E7=BB=88=E7=89=88=EF=BC=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=B7=AF=E7=94=B1=EF=BC=89?= 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 c63bdf1..b3ff4d6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,9 +1,9 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import Backindex from '@/views/backindex.vue' import FrontView from '@/views/FrontView.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: '/',