fix modbus iolist bug

This commit is contained in:
Jay
2017-03-27 11:31:58 +08:00
parent 4ae177e455
commit c434a59910
2 changed files with 4 additions and 4 deletions
@@ -5,8 +5,8 @@ const IOPanelListItem = ({i18n, data, ioModal, delIOList, showAIOSet}) => {
return (
<Table.Row>
<Table.Cell>{data.addr || ''}</Table.Cell>
<Table.Cell>{data.num || ''}</Table.Cell>
<Table.Cell>{data.addr}</Table.Cell>
<Table.Cell>{data.num}</Table.Cell>
<Table.Cell>
<Button type="button" basic content="修改" onClick={()=>{ioModal(1, data)}}/>
<Button type="button" basic content="刪除" onClick={()=>{delIOList(data.uid || '')}}/>