Merge pull request #8294 from dataease/pr@dev@fix_filter_select_first_tab

fix(过滤器): tab组件中过滤器设置首项,首次清空选项值无任何请求 close #8081
This commit is contained in:
fit2cloud-chenyw 2024-03-04 12:45:37 +08:00 committed by GitHub
commit 55fa2d4a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -945,7 +945,7 @@ export default {
}
}
if (this.isFirstLoad) {
this.element.filters = this.filters?.length ? JSON.parse(JSON.stringify(this.filters)) : []
this.element.filters = this.filter.filter?.length ? JSON.parse(JSON.stringify(this.filter.filter)) : []
}
method(id, this.panelInfo.id, requestInfo).then(response => {
try {