[优化muti delete config js展示bug] (#2191)

This commit is contained in:
WG-Roy 2019-12-19 16:55:05 +08:00 committed by Asa
parent 83eeeb6a23
commit be2ea09871

View File

@ -1092,7 +1092,11 @@ class ConfigurationManagement extends React.Component {
this.setState({ rowSelection });
configsTableSelected.clear();
ids.forEach((id, i) => {
configsTableSelected.set(id, records[i]);
records.forEach((v, index) => {
if (v.id === id) {
configsTableSelected.set(id, v);
}
});
});
}