mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-19 08:56:37 +08:00
fix: fix update payment setting
This commit is contained in:
parent
783e8fd74a
commit
77e7d11151
@ -189,7 +189,7 @@ const SystemSetting = () => {
|
|||||||
if (inputs.EpayId !== '') {
|
if (inputs.EpayId !== '') {
|
||||||
await updateOption('EpayId', inputs.EpayId);
|
await updateOption('EpayId', inputs.EpayId);
|
||||||
}
|
}
|
||||||
if (inputs.EpayKey !== '') {
|
if (inputs.EpayKey !== undefined && inputs.EpayKey !== '') {
|
||||||
await updateOption('EpayKey', inputs.EpayKey);
|
await updateOption('EpayKey', inputs.EpayKey);
|
||||||
}
|
}
|
||||||
await updateOption('Price', '' + inputs.Price);
|
await updateOption('Price', '' + inputs.Price);
|
||||||
|
Loading…
Reference in New Issue
Block a user