mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 20:06:44 +08:00
修改数据重复问题
This commit is contained in:
@@ -482,7 +482,7 @@
|
|||||||
}
|
}
|
||||||
let isAdd = true;
|
let isAdd = true;
|
||||||
for(let j = 0; j < this.tableData.length; j++){
|
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;
|
isAdd = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user