Ver Fonte

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

shylock há 1 ano atrás
pai
commit
66719f35cc
1 ficheiros alterados com 1 adições e 1 exclusões
  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: {