fix: set logical operator default value
This commit is contained in:
parent
3e9f311c84
commit
c622f2ad21
@ -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={dataSource.andor}>
|
}} defaultValue={dataSource.andor||'and'}>
|
||||||
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user