diff --git a/ui/dasadmin/src/views/backend/dashboard.vue b/ui/dasadmin/src/views/backend/dashboard.vue index 1bb373d4..2e37571e 100644 --- a/ui/dasadmin/src/views/backend/dashboard.vue +++ b/ui/dasadmin/src/views/backend/dashboard.vue @@ -150,19 +150,19 @@ const StatusListData = () => { item.attributeMap.iwindspeed !== undefined ? item.attributeMap.iwindspeed % 1 === 0 ? item.attributeMap.iwindspeed - : item.attributeMap.iwindspeed.toFixed(2) + : item.attributeMap.iwindspeed.toFixed(1) : '--' item.attributeMap.igenpower = item.attributeMap.igenpower !== undefined ? item.attributeMap.igenpower % 1 === 0 ? item.attributeMap.igenpower - : item.attributeMap.igenpower.toFixed(2) + : item.attributeMap.igenpower.toFixed(1) : '--' item.attributeMap.ikwhthisday = item.attributeMap.ikwhthisday !== undefined ? item.attributeMap.ikwhthisday % 1 === 0 ? item.attributeMap.ikwhthisday - : item.attributeMap.ikwhthisday.toFixed(2) + : item.attributeMap.ikwhthisday.toFixed(1) : '--' // 初始化计数器和累加器 if (index === 0) {