Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2024-12-02 14:48:20 +00:00
commit f1ffc114f4

View File

@ -41,7 +41,7 @@ export const SourceKey = observer(
<Select
disabled={sourceKey}
options={options}
defaultValue={options?.[0]?.value || sourceKey}
defaultValue={sourceKey || options?.[0]?.value}
onChange={props?.onChange}
showSearch
/>