rapid-spreadjs 1.0.32 → 1.0.33
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 +6 -2
- 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 +6 -2
- 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
|
@@ -638,8 +638,12 @@ const BusinessUtils = {
|
|
|
638
638
|
const addRowRange = sheet.getRange(totalRowCount, 1, contentColStartIndex, contentTotalColCount, gc.Spread.Sheets.SheetArea.viewport);
|
|
639
639
|
// 设置添加这一行区域中的边框样式(最左边和最后边边框样式为粗线、中间的为细边框样式)
|
|
640
640
|
addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.thin), { all: true });
|
|
641
|
-
addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.medium), {
|
|
642
|
-
|
|
641
|
+
addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.medium), {
|
|
642
|
+
left: true,
|
|
643
|
+
right: true,
|
|
644
|
+
top: i == 0,
|
|
645
|
+
bottom: i == testObjectAttrsChunk.length - 1,
|
|
646
|
+
});
|
|
643
647
|
// 设置单元格水平和垂直居中
|
|
644
648
|
addRowRange.hAlign(gc.Spread.Sheets.HorizontalAlign.center);
|
|
645
649
|
addRowRange.vAlign(gc.Spread.Sheets.HorizontalAlign.center);
|