摘要: methods: { itemClick() { this.$router.push(this.path).catch(err => err); } } 在点击事件后面加 catch( err => err) 重复点击后就 不会再报错了 阅读全文
posted @ 2021-01-24 17:36 闭上耳朵 阅读(81) 评论(0) 推荐(0) 编辑