vue-router在3.0版本以上重复点击菜单报错的问题

 报错样本:javascript // Push版本 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err) } //Replace版
相关文章
相关标签/搜索