refactor(router): 将路由历史模式从createWebHistory更改为createWebHashHistory
为了确保在部署时路由能正确解析路径,将路由历史模式从createWebHistory更改为createWebHashHistory。这种模式更适合某些部署环境,特别是当服务器配置不支持前端路由时。
Showing
1 changed file
with
3 additions
and
3 deletions
-
Please register or login to post a comment