rapid-spreadjs 1.0.24 → 1.0.25

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 CHANGED
@@ -594,6 +594,8 @@ const BusinessUtils = {
594
594
  const testObjectAttrsChunk = rapidUtils.chunkJson(testObjectAttrs, rowTestObjectCount);
595
595
  // 暂停绘制
596
596
  sheet.suspendPaint();
597
+ // 设置工作表行数为0
598
+ sheet.setRowCount(0);
597
599
  // 所有单元格对象
598
600
  const allCells = SheetUtils.getAllCellObjsByRange(sheet, {
599
601
  row: 0,