From ef68cce2ffaf371561ba37dee99eb665c0bdf2da Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Wed, 19 Dec 2018 16:32:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=90=88=E8=AE=A1=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E7=B2=BE=E7=A1=AE=E5=88=B02=E4=BD=8D=E5=B0=8F=E6=95=B0):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/lib/sum.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/lib/sum.js b/build/lib/sum.js index b0d8775..5987695 100644 --- a/build/lib/sum.js +++ b/build/lib/sum.js @@ -87,7 +87,7 @@ function sum(Table) { var _num = parseFloat(da[column.key]); //排查字段值为NAN情况 - if (_num) { + if (_num == _num) { count += _num; } }); diff --git a/package.json b/package.json index dda99e4..bdcf0ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.6.17", + "version": "1.6.18", "description": "Table ui component for react", "keywords": [ "react",