|
@@ -411,7 +411,7 @@
|
|
|
|
|
|
function getSummaries(param) {
|
|
|
const { columns, data } = param;
|
|
|
- console.log(23, param);
|
|
|
+
|
|
|
|
|
|
const sums = [];
|
|
|
columns.forEach((column, index) => {
|
|
@@ -426,7 +426,6 @@
|
|
|
|
|
|
if (!values.every((value) => isNaN(value))) {
|
|
|
sums[index] = values.reduce((prev, curr) => {
|
|
|
- console.log(23,prev, curr);
|
|
|
const value = Number(curr);
|
|
|
if (!isNaN(value)) {
|
|
|
return (Number(prev) + Number(curr)).toFixed(2);
|