Commit 7ed8ef67 by daggeryu Committed by GitHub

fix: 关键词搜索时无法展开测试模型

parent b8755fde
......@@ -780,9 +780,8 @@ const ChannelsTable = () => {
);
const { success, message, data } = res.data;
if (success) {
if (enableTagMode) {
setChannelFormat(data, enableTagMode);
} else {
if (!enableTagMode) {
setChannels(data.map(channel => ({...channel, key: '' + channel.id})));
setChannelCount(data.length);
}
......
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