review:【antd】【iot】首页的迁移

This commit is contained in:
YunaiV
2025-11-23 18:51:16 +08:00
parent a32ff4a9c9
commit 42697ec614
9 changed files with 49 additions and 77 deletions

View File

@@ -41,7 +41,7 @@ async function initCharts() {
await nextTick();
const max = props.statsData.deviceCount || 100;
// 在线设备
renderOnlineChart(
await renderOnlineChart(
getDeviceStateGaugeChartOptions(
props.statsData.deviceOnlineCount,
max,
@@ -50,7 +50,7 @@ async function initCharts() {
),
);
// 离线设备
renderOfflineChart(
await renderOfflineChart(
getDeviceStateGaugeChartOptions(
props.statsData.deviceOfflineCount,
max,
@@ -59,7 +59,7 @@ async function initCharts() {
),
);
// 待激活设备
renderInactiveChart(
await renderInactiveChart(
getDeviceStateGaugeChartOptions(
props.statsData.deviceInactiveCount,
max,