- 博客(2)
- 收藏
- 关注
原创 Vue及element-ui路由重复点击报错问题解决?
在做coderwhy的仿蘑菇街项目出现路由重复点击报错:经过搜索,使用以下方法依然无法解决,私以为是路由版本问题,我的路由是3.5.2版本/* 针对路由push 重复点击报错解决方案*/const originPush = VueRouter.prototype.pushVueRouter.prototype.push = function push(location) { return originPush.call(this, location).catch(err =&.
2021-11-02 13:00:37
629
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人