登录支持人机验证

This commit is contained in:
CaIon
2023-11-06 22:11:05 +08:00
parent af8827d269
commit a0b975fc3d
5 changed files with 36 additions and 9 deletions

View File

@@ -155,8 +155,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);
};