Error: Avoided redundant navigation to current location: “/XXX“.的问题

Error: Avoided redundant navigation to current location: “/XXX” 今天用vue的小demo,当我点击事件时,在浏览器上报以下错我,因为对前对不是很了解,一直找不到错在哪点, 进过一番百度一下,终于找到了解决的办法,这个错误时因为路由重复,解决办法:在vue项目下的router的index.js上,在代码里的Vue.use(Router)
相关文章
相关标签/搜索