@gingkoo/base-server 0.0.4-alpha.21 → 0.0.4-alpha.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -357,9 +357,11 @@ const _excelImportMultisheet2 = async (filePath = '') => {
357
357
  let rowData = [];
358
358
  row.eachCell((cell, colNumber) => {
359
359
  let colValue = cell.value;
360
- if (typeof colValue !== 'string') {
361
- colValue = colValue?.result || '';
360
+
361
+ if (!colValue && colValue !== 0 && colValue?.result) {
362
+ colValue = colValue.result;
362
363
  }
364
+
363
365
  if (rowNumber == 1) {
364
366
  sheetInfo.header[colNumber - 1] = colValue;
365
367
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/base-server",
3
- "version": "0.0.4-alpha.21",
3
+ "version": "0.0.4-alpha.22",
4
4
  "description": "",
5
5
  "main": "app.js",
6
6
  "scripts": {