问题概述: 路由跳转时,多次点击造成报错问题: 解决方法: 在router内index.js中添加此代码即可解决!! 代码如下: onst originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err) }