解决router重复点击异常 yydream 2023-02-20 66 阅读1分钟 解决router重复点击异常 // 在router.js文件中添加以下代码即可 const originalPush = Router.prototype.push; Router.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err); };