diff --git a/src/router/index.ts b/src/router/index.ts index 6dbe815..586b57c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,11 +1,10 @@ -import { createRouter, createWebHistory } from 'vue-router' +import { createRouter, createWebHashHistory } from 'vue-router' import Layout from '../views/Layout.vue' console.log('reouter') const router = createRouter({ - // @ts-ignore - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(), routes: [ { path: '/',