yuliang 3 gadi atpakaļ
vecāks
revīzija
de55bc793c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/xlsx.ts

+ 1 - 1
src/xlsx.ts

@@ -288,7 +288,7 @@ export function readExcelWithColumnsSet(topScope: Scope,
                                     nv = column.importFormatter(vdata)
                                 }
 
-                                if (!nv) {
+                                if (!nv && nv != 0) {
                                     hasError = true;
                                 } else {
                                     row[column.dataIndex] = nv;