diff --git a/src/router/index.ts b/src/router/index.ts index 0eb87707..7622695c 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 routesConfig from "@/router/routes.config"; const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: routesConfig, scrollBehavior: () => ({ left: 0, top: 0 }), });