style:历史记录查询/数据实时监控-数据为null时显示-

main
黄伟杰 1 month ago
parent ed2eae1afa
commit 36eedb05a3

@ -191,7 +191,7 @@ const buildSectionsFromGroups = (groups: Record<string, any[]>): Section[] => {
const label =
item?.attributeName ?? `${t('DataCollection.HistoryData.defaultFieldLabelPrefix')}${index + 1}`
columns.push({ prop, label })
row[prop] = item?.addressValue ?? ''
row[prop] = item?.addressValue ?? '-'
})
}
result.push({

@ -147,7 +147,7 @@ const buildSectionsFromGroups = (groups: Record<string, any[]>): Section[] => {
const label =
item?.attributeName ?? `${t('DataCollection.RealTimeMonitoring.defaultFieldLabelPrefix')}${index + 1}`
columns.push({ prop, label })
row[prop] = item?.addressValue ?? ''
row[prop] = item?.addressValue ?? '-'
})
}
result.push({

Loading…
Cancel
Save