优化展示
This commit is contained in:
@@ -45,8 +45,7 @@ const sensorDataColumns = [
|
||||
title: '数据',
|
||||
dataIndex: 'data',
|
||||
key: 'data',
|
||||
// 将数组格式化为逗号分隔的字符串
|
||||
formatter: (row, column, cellValue) => Array.isArray(cellValue) ? cellValue.join(', ') : cellValue,
|
||||
// 移除 formatter,由 GenericMonitorList 自动处理对象和数组显示
|
||||
minWidth: 150,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user