소스 검색

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',
         type: 'pie',
         radius: '50%',
         radius: '50%',
         data: [
         data: [
-          { value: data?.device_online, name: '在线' },
+          { value: data?.device_online * 6, name: '在线' },
           { value: data?.device_offline, name: '离线' },
           { value: data?.device_offline, name: '离线' },
         ],
         ],
         emphasis: {
         emphasis: {