路由報錯問題

在路由文件中寫上vue import Router from 'vue-router' const VueRouterPush = Router.prototype.push Router.prototype.push = function push (to) { return VueRouterPush.call(this, to).catch(err => err) }
相關文章
相關標籤/搜索