fix: available models could not be populated

This commit is contained in:
linzhaoming 2024-06-18 16:51:00 +08:00
parent 35ca91fc5e
commit c6ba325a1d

View File

@ -209,7 +209,7 @@ const EditChannel = (props) => {
},
});
if (res.data && res.data?.success) {
models.push(...es.data.data.map((model) => model.id));
models.push(...res.data.data.map((model) => model.id));
} else {
err = true;
}