Commit 8809c9d4f5e58da62e931842c48864e746740fe6
1 parent
e2c90a98
1.处理BtnRepair弹窗,slave表的字段不展示问题,常量字段打开没有值问题
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Common/ToolBar/ToolBarNew.js
| ... | ... | @@ -3752,7 +3752,7 @@ class ToolBarComponent extends Component { |
| 3752 | 3752 | } else { |
| 3753 | 3753 | if (commonUtils.isNotEmptyObject(this.props) && commonUtils.isNotEmptyObject(this.props.slaveConfig)) { |
| 3754 | 3754 | sIndex = this.props.slaveConfig.gdsconfigformslave.findIndex(item => item.sName === i); |
| 3755 | - const iSlaveIndex = slaveData.findIndex(item => slaveSelectedRowKeys.includes(item.sSlaveId)); | |
| 3755 | + const iSlaveIndex = slaveData.findIndex(item => slaveSelectedRowKeys.includes(item.sSlaveId) || slaveSelectedRowKeys.includes(item.sId)); | |
| 3756 | 3756 | if (iSlaveIndex > -1) { |
| 3757 | 3757 | singleRow = slaveData[iSlaveIndex]; |
| 3758 | 3758 | } | ... | ... |