rapid-spreadjs 1.0.123 → 1.0.124

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
@@ -21501,10 +21501,10 @@ const FormulaUtils = {
21501
21501
  ],
21502
21502
  funCallback: (spread, sheet, retData) => {
21503
21503
  //如果传递的参数小于7个,则返回空字符串
21504
- if (retData.allCellVals.length < 7) {
21504
+ if (retData.allCellValsEw.length < 7) {
21505
21505
  return '/';
21506
21506
  }
21507
- const val1 = retData.allCellVals[0], val2 = retData.allCellVals[1], val3 = retData.allCellVals[2], val4 = retData.allCellVals[3], val5 = retData.allCellVals[4], val6 = retData.allCellVals[5], overVal = retData.allCellVals[6];
21507
+ const val1 = retData.allCellValsEw[0][0], val2 = retData.allCellValsEw[1][0], val3 = retData.allCellValsEw[2][0], val4 = retData.allCellValsEw[3][0], val5 = retData.allCellValsEw[4][0], val6 = retData.allCellValsEw[5][0], overVal = retData.allCellValsEw[6][0];
21508
21508
  if (typeof overVal !== 'number' || isNaN(overVal)) {
21509
21509
  return '/';
21510
21510
  }