mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
修改数据重复问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user