[优化muti delete config js展示bug] (#2191)
This commit is contained in:
parent
83eeeb6a23
commit
be2ea09871
@ -1092,7 +1092,11 @@ class ConfigurationManagement extends React.Component {
|
|||||||
this.setState({ rowSelection });
|
this.setState({ rowSelection });
|
||||||
configsTableSelected.clear();
|
configsTableSelected.clear();
|
||||||
ids.forEach((id, i) => {
|
ids.forEach((id, i) => {
|
||||||
configsTableSelected.set(id, records[i]);
|
records.forEach((v, index) => {
|
||||||
|
if (v.id === id) {
|
||||||
|
configsTableSelected.set(id, v);
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user