rapid-spreadjs 1.0.24 → 1.0.26

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
@@ -513,6 +513,8 @@ const BusinessUtils = {
513
513
  const testObjectAttrsChunk = chunkJson(testObjectAttrs, rowTestObjectCount);
514
514
  // 暂停绘制
515
515
  sheet.suspendPaint();
516
+ // 设置工作表行数为0
517
+ sheet.setRowCount(0);
516
518
  for (let i = 0; i < testObjectAttrsChunk.length; i++) {
517
519
  const rowAttrArr = testObjectAttrsChunk[i];
518
520
  // 获取总行数