From 01160658a5982f33c739faefba398e57d870559d Mon Sep 17 00:00:00 2001 From: "1808837298@qq.com" <1808837298@qq.com> Date: Tue, 21 May 2024 20:01:32 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/ChannelsTable.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/components/ChannelsTable.js b/web/src/components/ChannelsTable.js index ad53999..c49d85b 100644 --- a/web/src/components/ChannelsTable.js +++ b/web/src/components/ChannelsTable.js @@ -310,12 +310,12 @@ const ChannelsTable = () => { const setChannelFormat = (channels) => { for (let i = 0; i < channels.length; i++) { - if (channels[i].type === 8) { - showWarning( - '检测到您使用了“自定义渠道”类型,请更换为“OpenAI”渠道类型!', - ); - showWarning('下个版本将不再支持“自定义渠道”类型!'); - } + // if (channels[i].type === 8) { + // showWarning( + // '检测到您使用了“自定义渠道”类型,请更换为“OpenAI”渠道类型!', + // ); + // showWarning('下个版本将不再支持“自定义渠道”类型!'); + // } channels[i].key = '' + channels[i].id; let test_models = []; channels[i].models.split(',').forEach((item, index) => {