|
@@ -140,7 +140,7 @@ function FieldProblem() {
|
|
|
{ title: '上传字段值', dataIndex: 'tableVal', key: 'tableVal' },
|
|
|
{
|
|
|
title: '备注', dataIndex: 'description', key: 'description', render: (text, record) => {
|
|
|
- return record.description.length > 20 ? <span title={record.description}>{record.description.substring(0, 20) + '...'}</span> : record.description;
|
|
|
+ return (record.description||"").length > 20 ? <span title={record.description}>{record.description.substring(0, 20) + '...'}</span> : record.description;
|
|
|
}
|
|
|
},
|
|
|
{
|