|
|
@ -1546,7 +1546,11 @@ const removeLocalData = (target) => { |
|
|
|
result.forEach((item) => { |
|
|
|
table.rows.splice( |
|
|
|
table.rows.findIndex((v) => { |
|
|
|
return v[props.primaryKey] === item[props.primaryKey] || v[rowKey_] === item[rowKey_]; |
|
|
|
if (!Tools.isEmpty(v[props.primaryKey]) && Tools.isEmpty(item[props.primaryKey])) { |
|
|
|
return v[props.primaryKey] === item[props.primaryKey]; |
|
|
|
} else { |
|
|
|
return v[rowKey_] === item[rowKey_]; |
|
|
|
} |
|
|
|
}), |
|
|
|
1, |
|
|
|
); |
|
|
|