vue-router路由重复的解决方法:
在router文件夹下面的index.js中加上下面几句代码:
import VueRouter from 'vue-router'
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err) } 标签:vue,redundant,location,VueRouter,跳转,push,router From: https://www.cnblogs.com/qianxiaoniantianxin/p/16640268.html