使用vue 路由钩子函数 报错 Uncaught (in promise) undefined

跳转报错的地方添加第二个参数方法

this.$router.replace('url', () => {})
posted @ 2020-01-21 11:32  玛卡巴鉲  阅读(2683)  评论(0编辑  收藏  举报