mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
fix: incorrect display of source key (#5771)
This commit is contained in:
parent
f2b3571845
commit
6c3eb4a40e
@ -41,7 +41,7 @@ export const SourceKey = observer(
|
|||||||
<Select
|
<Select
|
||||||
disabled={sourceKey}
|
disabled={sourceKey}
|
||||||
options={options}
|
options={options}
|
||||||
defaultValue={options?.[0]?.value || sourceKey}
|
defaultValue={sourceKey || options?.[0]?.value}
|
||||||
onChange={props?.onChange}
|
onChange={props?.onChange}
|
||||||
showSearch
|
showSearch
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user