Commit e6582e42 authored by 皮倩雯's avatar 皮倩雯

fix: '设备库配置不展示卡片字段'

parent 6f288111
Pipeline #84596 failed with stages
...@@ -623,20 +623,20 @@ const maintenance = () => { ...@@ -623,20 +623,20 @@ const maintenance = () => {
</Tooltip> </Tooltip>
), ),
}, },
{ // {
title: '卡片字段', // title: '卡片字段',
dataIndex: 'CarField', // dataIndex: 'CarField',
key: 'CarField', // key: 'CarField',
width: 100, // width: 100,
align: 'center', // align: 'center',
render: record => { // render: record => {
if (record) { // if (record) {
return <Tag color="success">已配置</Tag>; // return <Tag color="success">已配置</Tag>;
} else { // } else {
return <Tag color="processing">未配置</Tag>; // return <Tag color="processing">未配置</Tag>;
} // }
}, // },
}, // },
{ {
title: '详情字段', title: '详情字段',
dataIndex: 'DetailsField', dataIndex: 'DetailsField',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment