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

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)
}
}