摘要: 一.关于vue-router 1.vue-route想让它没锚点在配置中加入 mode:'history' 2.route-link默认展示出来的是a标签 想更改就标签 就在route-link中加入 tag=li 3.组件内部进行跳转 this.$router.push({path:'/xxxxx 阅读全文