fix(classic): use configured top-up currency - #5537
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
WalkthroughThe top-up component imports ChangesTop-up currency formatting
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
51fdfc5 to
2b6f1df
Compare

Important
📝 变更描述 / Description
经典前端充值页的实付金额展示原先直接拼接
元,导致站点设置为 USD 或自定义货币时仍显示人民币单位。本次改动复用已有的货币配置读取逻辑,根据当前
quota_display_type对应的符号格式化支付金额,并让确认弹窗中的实付金额、原价和优惠金额保持一致。🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。📸 运行证明 / Proof of Work