This commit is contained in:
shijingjing
2022-04-15 11:35:41 +08:00
parent 2d2865213e
commit 3e036b221f

View File

@@ -234,9 +234,8 @@ export default {
this.form = JSON.parse(JSON.stringify(this.data)) this.form = JSON.parse(JSON.stringify(this.data))
}, },
deleteBtn(row, index) { deleteBtn(row, index) {
console.log(row);
if(row.householdRelation == 11) { if(row.householdRelation == 11) {
return '不可以删除户主' return this.$message.error('不可以删除户主')
} }
this.tableData.splice(index, 1) this.tableData.splice(index, 1)
}, },