fix: 修复采集器查询失败问题

This commit is contained in:
xieyonghong 2023-04-27 11:22:41 +08:00
parent ca4c364155
commit a44edbb036
1 changed files with 4 additions and 6 deletions

View File

@ -157,19 +157,17 @@ const defualtDataSource: any = ref(_.cloneDeep(root));
const defualtParams = { const defualtParams = {
paging: false, paging: false,
sorts: [{ name: 'createTime', order: 'desc' }], sorts: [{ name: 'createTime', order: 'desc' }],
terms: [ terms: !!channelId ? [
{ {
terms: !!channelId terms: [
? [
{ {
column: 'channelId', column: 'channelId',
value: channelId, value: channelId,
}, },
] ],
: [],
type: 'and', type: 'and',
}, },
], ] : [],
}; };
const params = ref(); const params = ref();