refactor(store): 优化门店审批详情中的交通方配置处理逻辑
- 引入 StoreTrafficPartyConfig 类型来处理交通方配置 - 修改数据结构访问方式从 trafficPartyDetails 到 trafficPartyConfigs - 添加空值检查以避免空指针异常 - 使用循环遍历所有交通方配置并设置父级名称 - 保持原有功能的同时提高代码健壮性
Showing
1 changed file
with
11 additions
and
3 deletions
-
Please register or sign in to post a comment