lizhilunandClaude Opus 4.6 a0466fda3b fix: 修复 renderDispatchItem 除零问题
当 r.quantity 为 0 时,原代码 r.amount / r.quantity 会导致除零错误。
修复:优先使用 r.unit_price,仅在 unit_price 不存在时才计算,并添加防护。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 09:58:33 +08:00
2026-03-12 11:23:10 +08:00
2026-03-12 11:23:10 +08:00
2026-03-12 11:23:10 +08:00
2026-03-12 11:23:10 +08:00
2026-03-12 11:23:10 +08:00
S
Description
No description provided
264 KiB
Languages
JavaScript 76.2%
HTML 11.6%
CSS 10.8%
Shell 1.4%