Commit 6cc34fba by Calcium-Ion Committed by GitHub

Merge pull request #596 from daggeryu/patch-2

fix: 关键词搜索时无法展开测试模型
parents b8755fde 5cf99749
......@@ -780,12 +780,7 @@ const ChannelsTable = () => {
);
const { success, message, data } = res.data;
if (success) {
if (enableTagMode) {
setChannelFormat(data, enableTagMode);
} else {
setChannels(data.map(channel => ({...channel, key: '' + channel.id})));
setChannelCount(data.length);
}
setChannelFormat(data, enableTagMode);
setActivePage(1);
} else {
showError(message);
......
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