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.esm.js CHANGED
@@ -616,8 +616,12 @@ const BusinessUtils = {
616
616
  const addRowRange = sheet.getRange(totalRowCount, 1, contentColStartIndex, contentTotalColCount, gc.Spread.Sheets.SheetArea.viewport);
617
617
  // 设置添加这一行区域中的边框样式(最左边和最后边边框样式为粗线、中间的为细边框样式)
618
618
  addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.thin), { all: true });
619
- addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.medium), { left: true });
620
- addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.medium), { right: true });
619
+ addRowRange.setBorder(new gc.Spread.Sheets.LineBorder('#000', gc.Spread.Sheets.LineStyle.medium), {
620
+ left: true,
621
+ right: true,
622
+ top: i == 0,
623
+ bottom: i == testObjectAttrsChunk.length - 1,
624
+ });
621
625
  // 设置单元格水平和垂直居中
622
626
  addRowRange.hAlign(gc.Spread.Sheets.HorizontalAlign.center);
623
627
  addRowRange.vAlign(gc.Spread.Sheets.HorizontalAlign.center);