vue去掉链接中的#

在router.js中修改,

const router = new VueRouter({

mode: 'history',

routes: [...]

})

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