vue 解决路由重复点击报错
生活随笔
收集整理的這篇文章主要介紹了
vue 解决路由重复点击报错
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
const originalPush = Router.prototype.pushRouter.prototype.push = function push(location) {return originalPush.call(this, location).catch(err => err)
}
總結
以上是生活随笔為你收集整理的vue 解决路由重复点击报错的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux stopped 进程,Lin
- 下一篇: Vue路由重复点击报错解决