fix(工具箱): 筛选-在筛选条件中删除一个条件,其余存在的条件不再生效

This commit is contained in:
dataeaseShu 2024-08-29 10:23:51 +08:00
parent cc2a0b4103
commit 12075769bb

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