fix(performanceScheme): 修复参数配置排序和条件值转换问题
修复排序函数中可能因 null id 导致的错误,确保 null 值被正确排序到末尾。 将 conditionStartValue 和 conditionEndValue 的 null 值转换为 undefined 以保持数据一致性。 调整 getPerformanceParamConfigConditions 函数签名,移除内部状态依赖,通过参数传递商品分类数据。 当条件类型为 0 时,返回空数组以符合后端接口期望。
Showing
2 changed files
with
20 additions
and
10 deletions
-
Please register or sign in to post a comment