修改数据重复问题

This commit is contained in:
weinan2087
2023-02-14 10:18:44 +08:00
parent d301020991
commit d7cf48170b

View File

@@ -482,7 +482,7 @@
}
let isAdd = true;
for(let j = 0; j < this.tableData.length; j++){
if(udata.id == this.tableData[j].aid){
if(udata.id == this.tableData[j].id){
isAdd = false;
break;
}