Avoided redundant navigation to current location

在VUE中路由遇到Error: Avoided redundant navigation to current location:報錯顯示是路由重複, 雖然對項目無影響,可是看到有紅的仍是不舒服。 因而查了一下發現能夠這樣解決 在你引入VueRouter的時候再加上一句話:javascript const originalPush = VueRouter.prototype.push    Vue
相關文章
相關標籤/搜索