修改监控中心样式

This commit is contained in:
fks-yangshouda
2024-09-03 17:02:14 +08:00
parent 0c822e6d29
commit 3fa3655200
4 changed files with 7 additions and 4 deletions

View File

@@ -116,7 +116,7 @@
const date = params[0].name;
const values = params
.map((param: any) => {
const unit = data.value.find((d) => d.date === date)?.unit || '';
const unit = data.value[0]?.unit || '';
return `<tr>
<td>${param.marker}${param.seriesName}</td>
<td style="text-align: right;">${param.value} ${unit}</td>