rapid-spreadjs 1.0.92 → 1.0.94
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.cjs.js +4 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -623,6 +623,10 @@ const SheetUtils = {
|
|
|
623
623
|
(getType == 2 && (value == null || value == undefined || value == '')) ||
|
|
624
624
|
(getType == 3 && formula)) {
|
|
625
625
|
retCells.push(cell);
|
|
626
|
+
// 如果为无值类型,则设置单元格格式为文本格式
|
|
627
|
+
if (getType == 2 && (value == null || value == undefined || value == '')) {
|
|
628
|
+
sheet.setFormatter(cell.row, cell.col, '@');
|
|
629
|
+
}
|
|
626
630
|
}
|
|
627
631
|
});
|
|
628
632
|
// 辅助函数:将列索引转为大写字母(如 0->A, 1->B, 26->AA)
|