fix(订单工具): 修复calcOrderProp函数中数值计算和默认值问题
安全地解构订单对象并提供默认值,避免undefined错误 优化价格计算逻辑,处理小数精度并明确类型转换
Showing
1 changed file
with
15 additions
and
4 deletions
-
Please register or sign in to post a comment
安全地解构订单对象并提供默认值,避免undefined错误 优化价格计算逻辑,处理小数精度并明确类型转换