解决 this.$router.push 多次执行时报 navigationDuplicated 错误
在 Router / index.js (路由配置文件) 中: /* 1. 备份push方法 */let originPush = VueRouter.prototype.pushconsole.log(originPush);/* 2. 重写push方法 *//* location:跳转地址,传递的参数 resolve:成功时回调 reject:失败时回调*/VueRouter.prototype.push = function (location, resolve, r