From abdc97f087118c1c070687352f180e92c887aac7 Mon Sep 17 00:00:00 2001 From: xuxue <1595140265@qq.com> Date: Tue, 10 Oct 2017 04:23:34 -0500 Subject: [PATCH] Update index.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 取错值,修正 --- src/routes/chart/lineChart/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/chart/lineChart/index.js b/src/routes/chart/lineChart/index.js index 2defadc..2c98d13 100644 --- a/src/routes/chart/lineChart/index.js +++ b/src/routes/chart/lineChart/index.js @@ -132,7 +132,7 @@ const DashedLineChart = () => ( // CustomizedDotLineChart const CustomizedDot = ({ cx, cy, payload }) => { - if (payload.value > 2500) { + if (payload.pv > 2500) { return (