Commit 6ee39e64 authored by 田翔's avatar 田翔
parents b90bde13 caf93cb4
Pipeline #81078 passed with stages
......@@ -112,9 +112,17 @@ const patrolFeedback = () => {
title: '巡检类型',
dataIndex: 'inspectionType',
key: 'inspectionType',
onCell: () => ({
style: {
minWidth: 100,
},
}),
render: record => {
let arr = record?.split(',').filter(i => i !== '');
return arr.map(item => <Tag color="green">{item}</Tag>);
if (arr) {
return arr?.map(item => <Tag color="green">{item}</Tag>);
}
return <span>-</span>;
},
},
{
......
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