fix: for AI review problems

This commit is contained in:
wzxjohn
2025-07-10 21:00:43 +08:00
parent 8cc747ef22
commit 8be8813cd8

View File

@@ -243,7 +243,7 @@ const TopUp = () => {
showError(t('管理员未开启在线充值!')); showError(t('管理员未开启在线充值!'));
return; return;
} }
setPayWay('stripe') setPayWay('stripe');
setPaymentLoading(true); setPaymentLoading(true);
try { try {
await getStripeAmount(); await getStripeAmount();
@@ -276,7 +276,7 @@ const TopUp = () => {
if (res !== undefined) { if (res !== undefined) {
const { message, data } = res.data; const { message, data } = res.data;
if (message === 'success') { if (message === 'success') {
processStripeCallback(data) processStripeCallback(data);
} else { } else {
showError(data); showError(data);
} }