lkddi
41d4acdd72
修复:职务编辑表单中 0 值被 || '' 误转为空字符串
openEdit() 中三个奖励字段从 OR 运算符改为显式 null 检查:
- max_reward: pos.max_reward !== null ...
- daily_reward_limit 同上
- recipient_daily_limit 同上
- max_persons 改用 JS ?? 空值合并运算符
根本原因:0 在 JS 中是 falsy,pos.max_reward || '' 会将 0 变成 '',
提交到后端后 nullable 规则将空字符串解析为 null 覆盖掉用户的 0 设置。
2026-03-01 11:11:57 +08:00
..
2026-03-01 11:11:57 +08:00
2026-02-28 23:44:38 +08:00
2026-03-01 11:09:29 +08:00
2026-03-01 10:51:48 +08:00
2026-02-28 23:44:38 +08:00
2026-02-28 23:44:38 +08:00
2026-02-28 23:44:38 +08:00
2026-02-28 13:50:51 +08:00
2026-02-27 02:05:48 +08:00
2026-02-27 14:56:09 +08:00