Commit 9b2fdc13 by 1808837298@qq.com

chore: 删除无用代码

parent 9dd29b3d
...@@ -310,12 +310,12 @@ const ChannelsTable = () => { ...@@ -310,12 +310,12 @@ const ChannelsTable = () => {
const setChannelFormat = (channels) => { const setChannelFormat = (channels) => {
for (let i = 0; i < channels.length; i++) { for (let i = 0; i < channels.length; i++) {
if (channels[i].type === 8) { // if (channels[i].type === 8) {
showWarning( // showWarning(
'检测到您使用了“自定义渠道”类型,请更换为“OpenAI”渠道类型!', // '检测到您使用了“自定义渠道”类型,请更换为“OpenAI”渠道类型!',
); // );
showWarning('下个版本将不再支持“自定义渠道”类型!'); // showWarning('下个版本将不再支持“自定义渠道”类型!');
} // }
channels[i].key = '' + channels[i].id; channels[i].key = '' + channels[i].id;
let test_models = []; let test_models = [];
channels[i].models.split(',').forEach((item, index) => { channels[i].models.split(',').forEach((item, index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment