路由文件加上这个
const originalPush = router.prototype.push; router.prototype.push = function push(location) { return originalPush.call(this, location).catch(err => err); };
如有帮助,麻烦点个【采纳此答案】谢谢^0^
没有 me 路由 排查一下