Error: 无效的 to row index: 28 (必须在 -1 到 27 之间)。
repeatSheet(sheet,row,col,cols,total){
let rowIndex=Number(row);
let colIndex=Number(col);
let colLen=Number(cols);
let _this=this;
for(let i=0; i<total; i++){
sheet.copyTo(rowIndex,colIndex,rowIndex+i,colIndex,1,colLen,GC.Spread.Sheets.CopyToOptions.all);
sheet.setRowHeight(rowIndex+i, "50", GC.Spread.Sheets.SheetArea.viewport);
}
},
大神们,帮忙看下,怎么解决
|
|