Merge pull request #11831 from dataease/pr@dev-v2_st

fix(工具箱): 筛选-在筛选条件中删除一个条件,其余存在的条件不再生效
This commit is contained in:
dataeaseShu 2024-08-29 10:24:19 +08:00 committed by GitHub
commit 4bdb0e2600
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ const filterChange = (value, field, operator) => {
exits = true
condition['value'] = value
}
if (!value?.length) {
if (!condition?.value?.length) {
state.conditions.splice(len, 1)
}
}