解决浏览器报错 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location
刷新页面报错:Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: “/saleOrder/manage”.浏览器提示:<router-link>'s tag prop is deprecated and has been removed in Vue
·
刷新页面报错:
Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: “/saleOrder/manage”.
浏览器提示:
<router-link>'s tag prop is deprecated and has been removed in Vue Router 4.
Use the v-slot API to remove this warning:
https://next.router.vuejs.org/guide/migration/#removal-of-event-and-tag-props-in-router-link.
const originalPush = Router.prototype.push
Router.prototype.push = function push(location) {
return originalPush.call(this, location).catch(err => err)
}
更多推荐
已为社区贡献4条内容
所有评论(0)