vue去掉链接中的#

在router.js中修改,

const router = new VueRouter({

mode: 'history',

routes: [...]

})

posted @ 2018-09-07 15:08  晨子语  阅读(2244)  评论(0)    收藏  举报