改成hash #4

Merged
zguiy merged 1 commits from dev into main 2025-06-28 22:54:37 +08:00

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