From ebf8b00be1a7f896037ace5b6e50e59f3f3221ad Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Mon, 4 Dec 2017 11:24:33 +0800 Subject: [PATCH] fixed when ChartCard total is 0, total has no style https://github.com/ant-design/ant-design-pro/issues/329 --- src/components/Charts/ChartCard/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Charts/ChartCard/index.js b/src/components/Charts/ChartCard/index.js index 04cd70c7..a4726827 100644 --- a/src/components/Charts/ChartCard/index.js +++ b/src/components/Charts/ChartCard/index.js @@ -24,7 +24,7 @@ const ChartCard = ({ { // eslint-disable-next-line - total && (
) + (total !== undefined) && (
) }
-- GitLab