fix: url hash
This commit is contained in:
+1
-3
@@ -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'
|
||||
|
||||
@@ -4,7 +4,7 @@ import { CONSTANT } from '../constant'
|
||||
|
||||
const router = createRouter({
|
||||
// 使用 HTML5 History 模式,确保 URL 变化反映在浏览器地址栏中
|
||||
history: createWebHistory(),
|
||||
history: createWebHashHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: '/login',
|
||||
|
||||
Reference in New Issue
Block a user