update websocket reconnect policy & fix some bugs

This commit is contained in:
lb
2024-01-03 15:07:43 +08:00
parent 6b838ce089
commit 0f56538c27
8 changed files with 124 additions and 40 deletions

View File

@@ -133,7 +133,7 @@ function getOptions(source, period, trend) {
},
},
yAxis: {
name: "单位m³/h",
name: source == 'O2_float' ? "单位:%" : "单位mg/m³",
nameTextStyle: {
color: "#fff",
fontSize: 10,