原因:this.$confirm方法内置promise方法,
.catch()不能省略(因为取消操作时,无法捕获)

解决: .then(res => {...}) .catch(()=>{});(then之后把catch加上)

相关文章:

  • 2021-08-27
  • 2022-12-23
  • 2021-11-18
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-04
  • 2022-12-23
  • 2021-09-23
  • 2021-08-11
  • 2022-01-11
  • 2021-08-13
  • 2021-09-24
相关资源
相似解决方案