build(config): 更新路由历史,为移动和屏幕软件包使用基本 URL

This commit is contained in:
Zzc 2025-11-05 11:18:50 +08:00
parent 78f95d2dd3
commit 44b950fbdc
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ const routes = [
]
const router = createRouter({
history: createWebHistory(),
history: createWebHistory(import.meta.env.BASE_URL),
routes
})

View File

@ -30,7 +30,7 @@ const routes = [
]
const router = createRouter({
history: createWebHistory(),
history: createWebHistory(import.meta.env.BASE_URL),
routes
})