Browse Source

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

shylock 1 năm trước cách đây
mục cha
commit
66719f35cc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: {