From 14c59c9f0935750ab96656c8c72d997193b86288 Mon Sep 17 00:00:00 2001 From: MartialBE Date: Sat, 1 Jun 2024 14:36:44 +0800 Subject: [PATCH] fix: channel edit settings key error --- web/berry/src/views/Channel/component/EditModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/berry/src/views/Channel/component/EditModal.js b/web/berry/src/views/Channel/component/EditModal.js index 4f7f216d29..29bd3de21b 100644 --- a/web/berry/src/views/Channel/component/EditModal.js +++ b/web/berry/src/views/Channel/component/EditModal.js @@ -163,7 +163,7 @@ const EditModal = ({ open, channelId, onCancel, onOk }) => { values.other = 'v2.1'; } if (values.key === '') { - if (values.config.ak !== '' && values.config.sk !== '' && values.config.region !== '') { + if (values.config.ak && values.config.sk && values.config.region) { values.key = `${values.config.ak}|${values.config.sk}|${values.config.region}`; } }