@fileverse-dev/fortune-core 1.1.89 → 1.1.90
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/es/modules/cell.js +1 -1
- package/lib/modules/cell.js +1 -1
- package/package.json +1 -1
package/es/modules/cell.js
CHANGED
|
@@ -309,7 +309,7 @@ export function setCellValue(ctx, r, c, d, v) {
|
|
|
309
309
|
var strValue = String(vupdate);
|
|
310
310
|
var format = getNumberFormat(strValue, commaPresent);
|
|
311
311
|
cell.m = v.m ? v.m : update(format, cell.v);
|
|
312
|
-
cell.ht = (v === null || v === void 0 ? void 0 : v.
|
|
312
|
+
cell.ht = (v === null || v === void 0 ? void 0 : v.ht) ? cell.ht : 2;
|
|
313
313
|
cell.ct = {
|
|
314
314
|
fa: format,
|
|
315
315
|
t: "n"
|
package/lib/modules/cell.js
CHANGED
|
@@ -342,7 +342,7 @@ function setCellValue(ctx, r, c, d, v) {
|
|
|
342
342
|
var strValue = String(vupdate);
|
|
343
343
|
var format = (0, _utils.getNumberFormat)(strValue, commaPresent);
|
|
344
344
|
cell.m = v.m ? v.m : (0, _format.update)(format, cell.v);
|
|
345
|
-
cell.ht = (v === null || v === void 0 ? void 0 : v.
|
|
345
|
+
cell.ht = (v === null || v === void 0 ? void 0 : v.ht) ? cell.ht : 2;
|
|
346
346
|
cell.ct = {
|
|
347
347
|
fa: format,
|
|
348
348
|
t: "n"
|