diff --git a/web/src/i18n/locales/en.json b/web/src/i18n/locales/en.json index b3b5b37a..ff182af5 100644 --- a/web/src/i18n/locales/en.json +++ b/web/src/i18n/locales/en.json @@ -428,6 +428,7 @@ "填入基础模型": "Fill in the basic model", "填入所有模型": "Fill in all models", "清除所有模型": "Clear all models", + "复制所有模型": "Copy all models", "密钥": "Key", "请输入密钥": "Please enter the key", "批量创建": "Batch Create", diff --git a/web/src/pages/Channel/EditChannel.js b/web/src/pages/Channel/EditChannel.js index 1ef8af8c..6879eb53 100644 --- a/web/src/pages/Channel/EditChannel.js +++ b/web/src/pages/Channel/EditChannel.js @@ -26,7 +26,7 @@ import { Card, Tag, } from '@douyinfe/semi-ui'; -import { getChannelModels } from '../../helpers'; +import { getChannelModels, copy } from '../../helpers'; import { IconSave, IconClose, @@ -832,6 +832,16 @@ useEffect(() => { > {t('清除所有模型')} +