Преглед изворни кода

Merge remote-tracking branch 'origin/master'

lizw пре 3 година
родитељ
комит
164b4e34dd
1 измењених фајлова са 1 додато и 1 уклоњено
  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;