Skip to content

Commit

Permalink
fix: 查询表格详情页render map error (#308)
Browse files Browse the repository at this point in the history
* fix: 查询表格详情页render map error

* fix: remove empty tag
  • Loading branch information
joriewong authored Jan 18, 2021
1 parent e3a1f1c commit d15e0ef
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions ListTableList/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,18 @@ const TableList: React.FC<{}> = () => {
title: '操作',
dataIndex: 'option',
valueType: 'option',
render: (_, record) => (
<>
render: (_, record) => [
<a
onClick={() => {
handleUpdateModalVisible(true);
setStepFormValues(record);
}}
>
配置
</a>
<Divider type="vertical" />
<a href="">订阅警报</a>
</>
),
</a>,
<Divider type="vertical" />,
<a href="">订阅警报</a>,
],
},
];

Expand Down

0 comments on commit d15e0ef

Please sign in to comment.