fix(filter): fix can't filter boolean type problem
This commit is contained in:
parent
9a1794a932
commit
9c60402153
@ -62,7 +62,7 @@ export const useValues = () => {
|
|||||||
const s2 = cloneDeep(operator?.schema);
|
const s2 = cloneDeep(operator?.schema);
|
||||||
field.data.schema = merge(s1, s2);
|
field.data.schema = merge(s1, s2);
|
||||||
field.data.dataIndex = dataIndex;
|
field.data.dataIndex = dataIndex;
|
||||||
field.data.value = null;
|
field.data.value = operator.noValue ? operator.default || true : null;
|
||||||
data2value();
|
data2value();
|
||||||
},
|
},
|
||||||
setOperator(operatorValue) {
|
setOperator(operatorValue) {
|
||||||
|
Loading…
Reference in New Issue
Block a user