@leankylin-sheet/excel 5.2.57 → 5.2.58
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/dist/index.esm.js +3 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5173,6 +5173,9 @@ var setStyleAndValue = function setStyleAndValue(table, worksheet, variables) {
|
|
|
5173
5173
|
var fa = getFa();
|
|
5174
5174
|
if (fa) numFmt = fa;
|
|
5175
5175
|
}
|
|
5176
|
+
if (["", undefined, null].includes(cell.v)) {
|
|
5177
|
+
v = cell.v;
|
|
5178
|
+
}
|
|
5176
5179
|
} else if (cell.ct && ctT === "d") {
|
|
5177
5180
|
var mockDate = isTime(cell.ct.fa) ? "2000-01-01 " : "";
|
|
5178
5181
|
v = new Date(mockDate + cell.m);
|
package/dist/index.js
CHANGED
|
@@ -5185,6 +5185,9 @@ var setStyleAndValue = function setStyleAndValue(table, worksheet, variables) {
|
|
|
5185
5185
|
var fa = getFa();
|
|
5186
5186
|
if (fa) numFmt = fa;
|
|
5187
5187
|
}
|
|
5188
|
+
if (["", undefined, null].includes(cell.v)) {
|
|
5189
|
+
v = cell.v;
|
|
5190
|
+
}
|
|
5188
5191
|
} else if (cell.ct && ctT === "d") {
|
|
5189
5192
|
var mockDate = isTime(cell.ct.fa) ? "2000-01-01 " : "";
|
|
5190
5193
|
v = new Date(mockDate + cell.m);
|