Explorar o código

Merge branch '1.1.3-master_web' of http://8.130.72.63:18081/shenzhen/tjdify into 1.1.3-master

CzRger hai 1 mes
pai
achega
9c14bd9295
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      web/app/(commonLayout)/datasets/Statistic.tsx

+ 2 - 1
web/app/(commonLayout)/datasets/Statistic.tsx

@@ -53,12 +53,13 @@ const Statistic = () => {
         type: 'pie',
         radius: ['26%', '50%'],
         data: typeData.map((v: any) => {
-          v.value = v.value || 100
+          v.value = v.count || 0
           v.name = v.type
           return v
         }),
         label: {
           formatter: '{b} {d}%',
+          overflow: 'break',
         },
         emphasis: {
           disabled: true,