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.esm.js CHANGED
@@ -14640,26 +14640,29 @@ const FormulaUtils = {
14640
14640
  }
14641
14641
  // 处理技术要求对象的值
14642
14642
  if (allCellVals != null && allCellVals != undefined && allCellVals.length > 0) {
14643
- allCellVals.forEach((item) => {
14643
+ for (var i = 0; i < allCellVals.length; i++) {
14644
+ let item = allCellVals[i];
14644
14645
  if (item != null && item != undefined && isPlainObject(item) && item.hasOwnProperty('con') && item.hasOwnProperty('val')) {
14645
- item = item['val'];
14646
+ allCellVals[i] = item['val'];
14646
14647
  }
14647
- });
14648
+ }
14648
14649
  }
14649
14650
  if (allCellValsEw != null && allCellValsEw != undefined && allCellValsEw.length > 0) {
14650
- allCellValsEw.forEach((item) => {
14651
+ for (var i = 0; i < allCellValsEw.length; i++) {
14652
+ let item = allCellValsEw[i];
14651
14653
  if (item != null && item != undefined && item.length > 0) {
14652
- item.forEach((element) => {
14654
+ for (var j = 0; j < item.length; i++) {
14655
+ let element = item[j];
14653
14656
  if (element != null &&
14654
14657
  element != undefined &&
14655
14658
  isPlainObject(element) &&
14656
14659
  element.hasOwnProperty('con') &&
14657
14660
  element.hasOwnProperty('val')) {
14658
- element = element['val'];
14661
+ item[j] = element['val'];
14659
14662
  }
14660
- });
14663
+ }
14661
14664
  }
14662
- });
14665
+ }
14663
14666
  }
14664
14667
  //返回的回调函数参数数据
14665
14668
  let retData = {