路由报错问题

在路由文件中写上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) }
相关文章
相关标签/搜索