import Router from 'vue-router'
Vue.use(Router)
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
vue-router重复点击报错 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current
最新推荐文章于 2024-06-14 23:52:39 发布
关键词由CSDN通过智能技术生成