mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-19 22:53:41 +08:00
fix bug
This commit is contained in:
@@ -157,8 +157,12 @@ const SystemSetting = () => {
|
||||
}
|
||||
let PayAddress = removeTrailingSlash(inputs.PayAddress);
|
||||
await updateOption('PayAddress', PayAddress);
|
||||
await updateOption('EpayId', inputs.EpayId);
|
||||
await updateOption('EpayKey', inputs.EpayKey);
|
||||
if (inputs.EpayId !== '') {
|
||||
await updateOption('EpayId', inputs.EpayId);
|
||||
}
|
||||
if (inputs.EpayKey !== '') {
|
||||
await updateOption('EpayKey', inputs.EpayKey);
|
||||
}
|
||||
await updateOption('Price', "" + inputs.Price);
|
||||
await updateOption('MinCharge', "" + inputs.MinCharge);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user