fix: logical operator value

This commit is contained in:
chenos 2021-01-04 20:58:11 +08:00
parent 10c891d949
commit 1db4fbb8ee

View File

@ -33,7 +33,7 @@ export function FilterGroup(props: any) {
{' '} {' '}
<Select style={{width: 80}} onChange={(value) => { <Select style={{width: 80}} onChange={(value) => {
onChange({type: 'group', list, andor: value}); onChange({type: 'group', list, andor: value});
}} defaultValue={'and'}> }} defaultValue={dataSource.andor}>
<Select.Option value={'and'}></Select.Option> <Select.Option value={'and'}></Select.Option>
<Select.Option value={'or'}></Select.Option> <Select.Option value={'or'}></Select.Option>
</Select> </Select>