老莫的笔记本's Archiver
敲代码不为别的,就是为了找个媳妇
›
VUE 2.0
› VUE 如何干掉 锚点 #
周大胖子
发表于 2018-11-29 23:27:43
VUE 如何干掉 锚点 #
参考文献:https://router.vuejs.org/guide/essentials/history-mode.html
这个吧,需要后端配合调控, 前端要做的就一件事:
const router = new VueRouter({
// routes // short for `routes: routes`
mode: 'history',
routes
})
页:
[1]
查看完整版本:
VUE 如何干掉 锚点 #