关于VUE项目中报Error: Avoided redundant navigation to current location: 的错

在VUE中路由遇到Error: Avoided redundant navigation to current location:报错显示是路由重复, 在你引入VueRouter的时候再加上一句话:ide const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location)
相关文章
相关标签/搜索