fix: set logical operator default value

This commit is contained in:
chenos 2021-01-05 20:35:55 +08:00
parent 3e9f311c84
commit c622f2ad21

View File

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