fix: H5 vite base=/wkb/ + router history base,修复子路径部署资源加载
This commit is contained in:
@@ -85,7 +85,7 @@ const routes = [
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
history: createWebHistory('/wkb/'),
|
||||
routes,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user