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

View File

@ -84771,12 +84771,12 @@ var IOPanelListItem = function IOPanelListItem(_ref) {
_react2.default.createElement(
_semanticUiReact.Table.Cell,
null,
data.addr || ''
data.addr
),
_react2.default.createElement(
_semanticUiReact.Table.Cell,
null,
data.num || ''
data.num
),
_react2.default.createElement(
_semanticUiReact.Table.Cell,

View File

@ -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 || '')}}/>