在路由里面加上这句mode: 'history'
export default new Router({
mode: 'history',
routes: [{ path: '/', redirect: 'Index' }]
}]
但是这个需要后端的配合
https://blog.csdn.net/weixin_41224029/article/details/88687977
在路由里面加上这句mode: 'history'
export default new Router({
mode: 'history',
routes: [{ path: '/', redirect: 'Index' }]
}]
但是这个需要后端的配合
https://blog.csdn.net/weixin_41224029/article/details/88687977