mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 09:55:01 +00:00
fix: for AI review problems
This commit is contained in:
@@ -243,7 +243,7 @@ const TopUp = () => {
|
||||
showError(t('管理员未开启在线充值!'));
|
||||
return;
|
||||
}
|
||||
setPayWay('stripe')
|
||||
setPayWay('stripe');
|
||||
setPaymentLoading(true);
|
||||
try {
|
||||
await getStripeAmount();
|
||||
@@ -276,7 +276,7 @@ const TopUp = () => {
|
||||
if (res !== undefined) {
|
||||
const { message, data } = res.data;
|
||||
if (message === 'success') {
|
||||
processStripeCallback(data)
|
||||
processStripeCallback(data);
|
||||
} else {
|
||||
showError(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user