rapid-spreadjs 1.0.69 → 1.0.70

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
@@ -19710,21 +19710,7 @@ const FormulaUtils = {
19710
19710
  },
19711
19711
  ],
19712
19712
  funCallback: (spread, sheet, retData) => {
19713
- //如果传递的参数小于3个,则返回空字符串
19714
- if (retData.allCellValsEw.length < 3) {
19715
- return '';
19716
- }
19717
- let xData = FormulaUtils.commFun.convertToInt(retData.allCellValsEw[0].filter((item) => FormulaUtils.commFun.isNumber(item))), yData = FormulaUtils.commFun.convertToInt(retData.allCellValsEw[1].filter((item) => FormulaUtils.commFun.isNumber(item))), x = retData.allCellValsEw[2];
19718
- if (Array.isArray(x) && x.length > 0) {
19719
- x = Number(x[0]);
19720
- }
19721
- else {
19722
- x = Number(x);
19723
- }
19724
- console.log(111, retData);
19725
- console.log(222, xData);
19726
- console.log(333, yData);
19727
- console.log(444, x);
19713
+ console.log(retData);
19728
19714
  return 'OK';
19729
19715
  },
19730
19716
  },