改成hash

This commit is contained in:
2025-06-28 22:54:13 +08:00
parent 27f6a6384a
commit af8b5f6a8d

View File

@ -1,8 +1,8 @@
import { createRouter, createWebHistory } from 'vue-router' import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '@/views/HomeView.vue' import HomeView from '@/views/HomeView.vue'
const router = createRouter({ const router = createRouter({
history: createWebHistory('/'), history: createWebHashHistory(),
routes: [ routes: [
{ {
path: '/', path: '/',