看API中this.$confirm弹窗使用不对 讲的也不明确,在此记录下正确的用法

this.$confirm("确认删除文件?",{
            type:'error'}).then(()=>{
              console.log("确认操作");
             
            }).catch(()=>{
              console.log("取消操作");
            }) 

  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-12-30
  • 2021-05-15
猜你喜欢
  • 2021-06-05
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-08-07
相关资源
相似解决方案