This commit is contained in:
CaIon
2023-11-06 22:09:48 +08:00
parent 6c762414e9
commit dcdf3ccc9f
2 changed files with 6 additions and 5 deletions

View File

@@ -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);
};