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.esm.js
CHANGED
|
@@ -893,7 +893,11 @@ const BusinessUtils = {
|
|
|
893
893
|
: rowAttrArr[0].value);
|
|
894
894
|
// 启用单元格自动换行 和 自适应行高
|
|
895
895
|
sheet.getCell(totalRowCount, contentColStartIndex).wordWrap(true);
|
|
896
|
+
sheet.getCell(totalRowCount, contentColStartIndex + titleCellColumnCount).wordWrap(true);
|
|
896
897
|
sheet.autoFitRow(totalRowCount);
|
|
898
|
+
if (sheet.getRowHeight(totalRowCount) < 31) {
|
|
899
|
+
sheet.setRowHeight(totalRowCount, 31);
|
|
900
|
+
}
|
|
897
901
|
curRowCells.push({ row: totalRowCount, col: contentColStartIndex });
|
|
898
902
|
curRowCells.push({ row: totalRowCount, col: contentColStartIndex + titleCellColumnCount });
|
|
899
903
|
setFontSizeFamily(totalRowCount, contentColStartIndex);
|
|
@@ -922,7 +926,11 @@ const BusinessUtils = {
|
|
|
922
926
|
: rowAttrArr[1].value);
|
|
923
927
|
// 启用单元格自动换行 和 自适应行高
|
|
924
928
|
sheet.getCell(totalRowCount, colIndexTitle).wordWrap(true);
|
|
929
|
+
sheet.getCell(totalRowCount, colIndexValue).wordWrap(true);
|
|
925
930
|
sheet.autoFitRow(totalRowCount);
|
|
931
|
+
if (sheet.getRowHeight(totalRowCount) < 31) {
|
|
932
|
+
sheet.setRowHeight(totalRowCount, 31);
|
|
933
|
+
}
|
|
926
934
|
curRowCells.push({ row: totalRowCount, col: colIndexTitle });
|
|
927
935
|
curRowCells.push({ row: totalRowCount, col: colIndexValue });
|
|
928
936
|
setFontSizeFamily(totalRowCount, colIndexTitle);
|
|
@@ -944,7 +952,11 @@ const BusinessUtils = {
|
|
|
944
952
|
: rowAttrArr[2].value);
|
|
945
953
|
// 启用单元格自动换行 和 自适应行高
|
|
946
954
|
sheet.getCell(totalRowCount, colIndexTitle).wordWrap(true);
|
|
955
|
+
sheet.getCell(totalRowCount, colIndexValue).wordWrap(true);
|
|
947
956
|
sheet.autoFitRow(totalRowCount);
|
|
957
|
+
if (sheet.getRowHeight(totalRowCount) < 31) {
|
|
958
|
+
sheet.setRowHeight(totalRowCount, 31);
|
|
959
|
+
}
|
|
948
960
|
curRowCells.push({ row: totalRowCount, col: colIndexTitle });
|
|
949
961
|
curRowCells.push({ row: totalRowCount, col: colIndexValue });
|
|
950
962
|
setFontSizeFamily(totalRowCount, colIndexTitle);
|