如果有用,请点个赞,或者留言:有用,感谢各位😝 this.$router.push({path: '/' + item.url}).catch(err => { // 重复点击相同的url }) 通过代码跳转的只需要加个.catch(()=>{})即可