fix: url hash

This commit is contained in:
engigu
2025-08-10 14:39:45 +08:00
parent d557547bc0
commit 56cb2ad05a
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -1,6 +1,4 @@
<script lang="ts">
export const description = "A login page with form and image."
</script>
<script setup lang="ts">
import { Toaster } from '@/components/ui/sonner'
+1 -1
View File
@@ -4,7 +4,7 @@ import { CONSTANT } from '../constant'
const router = createRouter({
// 使用 HTML5 History 模式,确保 URL 变化反映在浏览器地址栏中
history: createWebHistory(),
history: createWebHashHistory(),
routes: [
{
path: '/login',