rapid-spreadjs 1.0.117 → 1.0.118

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
@@ -14662,26 +14662,29 @@ const FormulaUtils = {
14662
14662
  }
14663
14663
  // 处理技术要求对象的值
14664
14664
  if (allCellVals != null && allCellVals != undefined && allCellVals.length > 0) {
14665
- allCellVals.forEach((item) => {
14665
+ for (var i = 0; i < allCellVals.length; i++) {
14666
+ let item = allCellVals[i];
14666
14667
  if (item != null && item != undefined && isPlainObject(item) && item.hasOwnProperty('con') && item.hasOwnProperty('val')) {
14667
- item = item['val'];
14668
+ allCellVals[i] = item['val'];
14668
14669
  }
14669
- });
14670
+ }
14670
14671
  }
14671
14672
  if (allCellValsEw != null && allCellValsEw != undefined && allCellValsEw.length > 0) {
14672
- allCellValsEw.forEach((item) => {
14673
+ for (var i = 0; i < allCellValsEw.length; i++) {
14674
+ let item = allCellValsEw[i];
14673
14675
  if (item != null && item != undefined && item.length > 0) {
14674
- item.forEach((element) => {
14676
+ for (var j = 0; j < item.length; i++) {
14677
+ let element = item[j];
14675
14678
  if (element != null &&
14676
14679
  element != undefined &&
14677
14680
  isPlainObject(element) &&
14678
14681
  element.hasOwnProperty('con') &&
14679
14682
  element.hasOwnProperty('val')) {
14680
- element = element['val'];
14683
+ item[j] = element['val'];
14681
14684
  }
14682
- });
14685
+ }
14683
14686
  }
14684
- });
14687
+ }
14685
14688
  }
14686
14689
  //返回的回调函数参数数据
14687
14690
  let retData = {