diff --git a/web/src/components/table/channels/modals/EditChannelModal.jsx b/web/src/components/table/channels/modals/EditChannelModal.jsx
index 6613dddc..d2fd6758 100644
--- a/web/src/components/table/channels/modals/EditChannelModal.jsx
+++ b/web/src/components/table/channels/modals/EditChannelModal.jsx
@@ -704,20 +704,20 @@ const EditChannelModal = (props) => {
}
}}
>{t('批量创建')}
- {/*{batch && (*/}
- {/* {*/}
- {/* setMultiToSingle(prev => !prev);*/}
- {/* setInputs(prev => {*/}
- {/* const newInputs = { ...prev };*/}
- {/* if (!multiToSingle) {*/}
- {/* newInputs.multi_key_mode = multiKeyMode;*/}
- {/* } else {*/}
- {/* delete newInputs.multi_key_mode;*/}
- {/* }*/}
- {/* return newInputs;*/}
- {/* });*/}
- {/* }}>{t('密钥聚合模式')}*/}
- {/*)}*/}
+ {batch && (
+ {
+ setMultiToSingle(prev => !prev);
+ setInputs(prev => {
+ const newInputs = { ...prev };
+ if (!multiToSingle) {
+ newInputs.multi_key_mode = multiKeyMode;
+ } else {
+ delete newInputs.multi_key_mode;
+ }
+ return newInputs;
+ });
+ }}>{t('密钥聚合模式')}
+ )}
) : null;