From 7dbdd91b304877739414f561426317a67ad8f02d Mon Sep 17 00:00:00 2001 From: huanghejian Date: Sat, 27 Sep 2025 16:40:18 +0800 Subject: [PATCH] =?UTF-8?q?pref:=20=E9=98=B2=E5=91=86=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E9=9C=80=E8=A6=81=EF=BC=8C=E4=B8=8D=E5=85=81=E8=AE=B8=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=EF=BC=8CAPI=E5=9C=B0=E5=9D=80=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=B8=BA=E4=B8=8B=E6=8B=89=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../channels/modals/EditChannelModal.jsx | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/web/src/components/table/channels/modals/EditChannelModal.jsx b/web/src/components/table/channels/modals/EditChannelModal.jsx index 9d7e7f37..6ceb1ebf 100644 --- a/web/src/components/table/channels/modals/EditChannelModal.jsx +++ b/web/src/components/table/channels/modals/EditChannelModal.jsx @@ -1736,7 +1736,8 @@ const EditChannelModal = (props) => { {inputs.type !== 3 && inputs.type !== 8 && inputs.type !== 22 && - inputs.type !== 36 && ( + inputs.type !== 36 && + inputs.type !== 45 && (
{ />
)} + + {inputs.type === 45 && ( +
+ + handleInputChange('base_url', value) + } + optionList={[ + { + value: 'https://ark.cn-beijing.volces.com', + label: 'https://ark.cn-beijing.volces.com' + }, + { + value: 'https://ark.ap-southeast.bytepluses.com', + label: 'https://ark.ap-southeast.bytepluses.com' + } + ]} + defaultValue='https://ark.cn-beijing.volces.com' + /> +
+ )} )}