Explorar o código

Merge remote-tracking branch 'origin/master'

lizw %!s(int64=3) %!d(string=hai) anos
pai
achega
164b4e34dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;