From 6d314a2b4ab77f8fb942cd1bf924af6e7d6d0887 Mon Sep 17 00:00:00 2001 From: liuyalei Date: Fri, 8 Dec 2023 09:57:26 +0800 Subject: [PATCH] add --- index.html | 2 +- src/router/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index d179578..570f490 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - Vite App + 优享地图 diff --git a/src/router/index.js b/src/router/index.js index 67afa1d..1a10575 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 HomeView from '../views/HomeView.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: '/',