vue-router在3.0版本以上重複點擊菜單報錯的問題

 報錯樣本:javascript // Push版本 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err) } //Replace版
相關文章
相關標籤/搜索