|
@@ -1715,16 +1715,17 @@ function luckysheet_getcelldata(txt) {
|
|
|
"column": col
|
|
|
});
|
|
|
|
|
|
- //if(formula.execFunctionGlobalData!=null){
|
|
|
- // for(let r=row[0];r<=row[1];r++){
|
|
|
- // for(let c=col[0];c<=col[1];c++){
|
|
|
- // let ef = formula.execFunctionGlobalData[r+"_"+c+"_"+sheetIndex];
|
|
|
- // if(ef!=null){
|
|
|
- // ret[r-row[0]][c-col[0]] = ef;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
- //}
|
|
|
+ if(formula.execFunctionGlobalData!=null){
|
|
|
+ for(let r=row[0];r<=row[1];r++){
|
|
|
+ for(let c=col[0];c<=col[1];c++){
|
|
|
+ let ef = formula.execFunctionGlobalData[r+"_"+c+"_"+sheetIndex];
|
|
|
+ if(ef!=null){
|
|
|
+ let oldObj = ret[r-row[0]][c-col[0]]
|
|
|
+ ret[r-row[0]][c-col[0]] = {...oldObj,...ef};
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
//范围的长宽
|