Merge pull request #8294 from dataease/pr@dev@fix_filter_select_first_tab
fix(过滤器): tab组件中过滤器设置首项,首次清空选项值无任何请求 close #8081
This commit is contained in:
commit
55fa2d4a10
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user