master
parent
cb224e5fec
commit
4a011c2f8f
|
@ -284,9 +284,11 @@ export default {
|
|||
},
|
||||
handleDelete(id){
|
||||
del(id).then(res =>{
|
||||
//判断删除是否成功
|
||||
if (confirm("是否删除这条数据?")){
|
||||
this.$message.success(res.msg || "删除成功")
|
||||
if (res.data.code==200){
|
||||
//判断删除是否成功
|
||||
if (confirm("是否删除这条数据?")){
|
||||
this.$message.success(res.msg || "删除成功")
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue