vue路由点击报出这个错误:
NavigationDuplicated: Avoided redundant navigation to current location
在路由文件里:
1.
2.
const ORIGINPUSH = Router.prototype.push
Router.prototype.push = function push(location) {
return ORIGINPUSH.call(this,location).catch(err => err)
}
vue路由冗余:NavigationDuplicated: Avoided redundant navigation to current location
最新推荐文章于 2024-04-22 10:01:45 发布