From 41300f471420af77438d942038d2a89bea012490 Mon Sep 17 00:00:00 2001 From: mmmaomao21 <464493978@qq.com> Date: Sun, 28 Oct 2018 12:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9B=BE=E8=A1=A8Gauge?= =?UTF-8?q?=E4=B8=AD=E5=80=BC=E6=98=BE=E7=A4=BA=E7=9A=84=E6=B5=AE=E7=82=B9?= =?UTF-8?q?=E6=95=B0bug=20(#2682)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Charts/Gauge/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Charts/Gauge/index.js b/src/components/Charts/Gauge/index.js index 2249211a..165869ba 100644 --- a/src/components/Charts/Gauge/index.js +++ b/src/components/Charts/Gauge/index.js @@ -72,7 +72,7 @@ class Gauge extends React.Component { nice: true, }, }; - const data = [{ value: percent / 10 }]; + const data = [{ value: percent }]; return ( @@ -134,7 +134,7 @@ class Gauge extends React.Component {

${title}

- ${data[0].value * 10}% + ${data[0].value}%

`} /> -- GitLab