Avoided redundant navigation to current location: 「xxx「.

描述:點擊按鈕進行跳轉時,路由爲當前路由,再次點擊報錯java 解決方法:this 在router的index.js文件中添加 const originalPush:any = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return originalPush.call(this,
相關文章
相關標籤/搜索