mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-16 05:03:44 +08:00
🐛 fix: ui PaymentUSDRate error
This commit is contained in:
@@ -151,7 +151,7 @@ const TopupCard = () => {
|
||||
|
||||
let total = Number(amount) + Number(calculateFee());
|
||||
if (selectedPayment && selectedPayment.currency === 'CNY') {
|
||||
total = parseFloat((total * 7.3).toFixed(2));
|
||||
total = parseFloat((total * siteInfo.PaymentUSDRate).toFixed(2));
|
||||
}
|
||||
return total;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user