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",