调整数据小数点位数显示;更换 valve 图标,上调 valvesLayer 的显示层级;特殊处理流量的样式显示

This commit is contained in:
JIANG
2025-11-19 14:39:21 +08:00
parent bb040f1612
commit 538b9fe177
6 changed files with 140 additions and 86 deletions

View File

@@ -403,7 +403,7 @@ const Toolbar: React.FC<ToolbarProps> = ({ hiddenButtons, queryType }) => {
result.properties.push({
label,
value:
computedProperties[key].toFixed?.(2) || computedProperties[key],
computedProperties[key].toFixed?.(3) || computedProperties[key],
unit,
});
}
@@ -446,7 +446,7 @@ const Toolbar: React.FC<ToolbarProps> = ({ hiddenButtons, queryType }) => {
result.properties.push({
label,
value:
computedProperties[key].toFixed?.(2) || computedProperties[key],
computedProperties[key].toFixed?.(3) || computedProperties[key],
unit,
});
}