看API中this.$confirm弹窗使用不对 讲的也不明确,在此记录下正确的用法
this.$confirm("确认删除文件?",{ type:'error'}).then(()=>{ console.log("确认操作"); }).catch(()=>{ console.log("取消操作"); })
看API中this.$confirm弹窗使用不对 讲的也不明确,在此记录下正确的用法
this.$confirm("确认删除文件?",{ type:'error'}).then(()=>{ console.log("确认操作"); }).catch(()=>{ console.log("取消操作"); })
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。