fix(过滤器): tab组件中过滤器设置首项,首次清空选项值无任何请求 close #8081

This commit is contained in:
fit2cloud-chenyw 2024-03-04 12:44:31 +08:00
parent e9c19b0e39
commit 612d2a9f42

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 {