Browse Source

Merge remote-tracking branch 'origin/master'

lizw 3 năm trước cách đây
mục cha
commit
164b4e34dd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;