VUE項目路由報錯 error: Avoided redundant navigation to current location:

問題: 在VUE中路由遇到Error: Avoided redundant navigation to current location:報錯顯示是路由重複javascript 解決辦法: 雖然對項目無影響,可是看到有紅的仍是不舒服。java 因而查了一下發現能夠這樣解決:ide router文件夾下面的index.js中加上下面幾句代碼 const originalPush = Router.p
相關文章
相關標籤/搜索