rapid-spreadjs 1.0.61 → 1.0.62

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
@@ -19401,7 +19401,7 @@ const FormulaUtils = {
19401
19401
  try {
19402
19402
  const rangeStr = retData.allCellVals[0], num = retData.allCellVals[1];
19403
19403
  // 参数基础校验
19404
- if (typeof rangeStr !== 'string' || typeof num !== 'number' || isNaN(num)) {
19404
+ if (rangeStr == null || rangeStr == undefined || typeof rangeStr !== 'string' || typeof num !== 'number' || isNaN(num)) {
19405
19405
  return '/';
19406
19406
  }
19407
19407
  // 去除字符串中的空格