關於VUE項目中報Error: Avoided redundant navigation to current location: 的錯

在VUE中路由遇到Error: Avoided redundant navigation to current location:報錯顯示是路由重複, 雖然我項目中引入的是vant, javascript 可是無論你引入的是什麼ui框架,報錯本質不變, 雖然對項目無影響,可是看到有紅的仍是不舒服。 因而查了一下發現能夠這樣解決 在你引入VueRouter的時候再加上一句話(我是在mainJs裏面,
相關文章
相關標籤/搜索