报错:avigationDuplicated: Avoided redundant navigation to current location:xxx
分析:导航重复
解决方法:消除重复
// 处理重复路由
const originpush = VueRouter.prototype.push
VueRouter.prototype.push = function push(location){
return originpush.call(this, location).catch(err => err)
}