Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/master'

lizw 3 anni fa
parent
commit
164b4e34dd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;