解决vue路径中#号时间:2023-03-08 20:07:55在router文件夹下的js文件中,更改配置增加 mode: 'history'; vue-router官方文档:https://router.vuejs.org/zh-cn/essentials/history-mode.html