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: '/',