diff --git a/src/router/index.ts b/src/router/index.ts index 854f348..de25be2 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 IndexView from '../views/index.vue' const router = createRouter({ - history: createWebHistory(import.meta.env.BASE_URL), + history: createWebHashHistory(import.meta.env.BASE_URL), routes: [ { path: '/', @@ -31,7 +31,7 @@ const router = createRouter({ if (to.hash) { return { el: to.hash, - + } } }, diff --git a/src/views/download.vue b/src/views/download.vue index ed335c9..a001c29 100644 --- a/src/views/download.vue +++ b/src/views/download.vue @@ -1,5 +1,5 @@