rapid-spreadjs 1.0.177 → 1.0.178
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 +12 -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 +12 -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.cjs.js
CHANGED
|
@@ -915,7 +915,11 @@ const BusinessUtils = {
|
|
|
915
915
|
: rowAttrArr[0].value);
|
|
916
916
|
// 启用单元格自动换行 和 自适应行高
|
|
917
917
|
sheet.getCell(totalRowCount, contentColStartIndex).wordWrap(true);
|
|
918
|
+
sheet.getCell(totalRowCount, contentColStartIndex + titleCellColumnCount).wordWrap(true);
|
|
918
919
|
sheet.autoFitRow(totalRowCount);
|
|
920
|
+
if (sheet.getRowHeight(totalRowCount) < 31) {
|
|
921
|
+
sheet.setRowHeight(totalRowCount, 31);
|
|
922
|
+
}
|
|
919
923
|
curRowCells.push({ row: totalRowCount, col: contentColStartIndex });
|
|
920
924
|
curRowCells.push({ row: totalRowCount, col: contentColStartIndex + titleCellColumnCount });
|
|
921
925
|
setFontSizeFamily(totalRowCount, contentColStartIndex);
|
|
@@ -944,7 +948,11 @@ const BusinessUtils = {
|
|
|
944
948
|
: rowAttrArr[1].value);
|
|
945
949
|
// 启用单元格自动换行 和 自适应行高
|
|
946
950
|
sheet.getCell(totalRowCount, colIndexTitle).wordWrap(true);
|
|
951
|
+
sheet.getCell(totalRowCount, colIndexValue).wordWrap(true);
|
|
947
952
|
sheet.autoFitRow(totalRowCount);
|
|
953
|
+
if (sheet.getRowHeight(totalRowCount) < 31) {
|
|
954
|
+
sheet.setRowHeight(totalRowCount, 31);
|
|
955
|
+
}
|
|
948
956
|
curRowCells.push({ row: totalRowCount, col: colIndexTitle });
|
|
949
957
|
curRowCells.push({ row: totalRowCount, col: colIndexValue });
|
|
950
958
|
setFontSizeFamily(totalRowCount, colIndexTitle);
|
|
@@ -966,7 +974,11 @@ const BusinessUtils = {
|
|
|
966
974
|
: rowAttrArr[2].value);
|
|
967
975
|
// 启用单元格自动换行 和 自适应行高
|
|
968
976
|
sheet.getCell(totalRowCount, colIndexTitle).wordWrap(true);
|
|
977
|
+
sheet.getCell(totalRowCount, colIndexValue).wordWrap(true);
|
|
969
978
|
sheet.autoFitRow(totalRowCount);
|
|
979
|
+
if (sheet.getRowHeight(totalRowCount) < 31) {
|
|
980
|
+
sheet.setRowHeight(totalRowCount, 31);
|
|
981
|
+
}
|
|
970
982
|
curRowCells.push({ row: totalRowCount, col: colIndexTitle });
|
|
971
983
|
curRowCells.push({ row: totalRowCount, col: colIndexValue });
|
|
972
984
|
setFontSizeFamily(totalRowCount, colIndexTitle);
|