rapid-spreadjs 1.0.25 → 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 +2 -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 +2 -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.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
|
// 获取总行数
|
|
@@ -572,8 +574,6 @@ const BusinessUtils = {
|
|
|
572
574
|
const testObjectAttrsChunk = chunkJson(testObjectAttrs, rowTestObjectCount);
|
|
573
575
|
// 暂停绘制
|
|
574
576
|
sheet.suspendPaint();
|
|
575
|
-
// 设置工作表行数为0
|
|
576
|
-
sheet.setRowCount(0);
|
|
577
577
|
// 所有单元格对象
|
|
578
578
|
const allCells = SheetUtils.getAllCellObjsByRange(sheet, {
|
|
579
579
|
row: 0,
|