mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Co-authored-by: chenfan02 <chenfan02@baidu.com>
This commit is contained in:
parent
0ede261708
commit
887d860f96
@ -130,7 +130,10 @@ export class DataBindingControl extends React.Component<
|
||||
|
||||
return render('content', schema!, {
|
||||
onSelect: onChange,
|
||||
value: value ? value.value : result
|
||||
value:
|
||||
value && typeof value === 'object'
|
||||
? value?.selected?.value ?? value?.value
|
||||
: result
|
||||
});
|
||||
}}
|
||||
value={result}
|
||||
|
Loading…
Reference in New Issue
Block a user