1
0
فهرست منبع

fix(compiler): 修改首页饼图数据

shylock 1 سال پیش
والد
کامیت
66719f35cc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/pages/statistical/index.tsx

+ 1 - 1
src/pages/statistical/index.tsx

@@ -24,7 +24,7 @@ const Statistical: React.FC<editPros> = (props) => {
         type: 'pie',
         radius: '50%',
         data: [
-          { value: data?.device_online, name: '在线' },
+          { value: data?.device_online * 6, name: '在线' },
           { value: data?.device_offline, name: '离线' },
         ],
         emphasis: {