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.cjs.js CHANGED
@@ -535,6 +535,8 @@ const BusinessUtils = {
535
535
  const testObjectAttrsChunk = rapidUtils.chunkJson(testObjectAttrs, rowTestObjectCount);
536
536
  // 暂停绘制
537
537
  sheet.suspendPaint();
538
+ // 设置工作表行数为0
539
+ sheet.setRowCount(0);
538
540
  for (let i = 0; i < testObjectAttrsChunk.length; i++) {
539
541
  const rowAttrArr = testObjectAttrsChunk[i];
540
542
  // 获取总行数