this.$confirm('你正在进行删除操作', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(()=>{ deleteAction(path.join(this.url.delete, record.id)) this.$message.success(res.msg); } ).catch((err)=>{ this.$message.warning(err); })
this.$confirm('你正在进行删除操作', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(()=>{ deleteAction(path.join(this.url.delete, record.id)) this.$message.success(res.msg); } ).catch((err)=>{ this.$message.warning(err); })