diff --git a/web/src/components/SystemSetting.js b/web/src/components/SystemSetting.js index 5906896..6abc6f1 100644 --- a/web/src/components/SystemSetting.js +++ b/web/src/components/SystemSetting.js @@ -189,7 +189,7 @@ const SystemSetting = () => { if (inputs.EpayId !== '') { await updateOption('EpayId', inputs.EpayId); } - if (inputs.EpayKey !== '') { + if (inputs.EpayKey !== undefined && inputs.EpayKey !== '') { await updateOption('EpayKey', inputs.EpayKey); } await updateOption('Price', '' + inputs.Price);