Vue-router 路由重复点击报错 NavigationDuplicated: Avoided redundant navigation to current location 解决
解决方法:
在router.js中加入以下代码
const originalPush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}