@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.
- package/backend/utils/excel.js +4 -2
- package/package.json +1 -1
package/backend/utils/excel.js
CHANGED
|
@@ -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
|
-
|
|
361
|
-
|
|
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 {
|