fix: for AI review problems
This commit is contained in:
parent
df69147da9
commit
11ef2c32a3
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user