解决使用element.ui上的左菜单栏重复点击出现的警告 小和尚同学 2019-10-23 504 阅读1分钟 1.在router.js中加入这段代码const originalPush = Router.prototype.push Router.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err) }