Explorar el Código

Merge remote-tracking branch 'origin/master'

lizw hace 3 años
padre
commit
164b4e34dd
Se han modificado 1 ficheros con 1 adiciones y 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;