|
@@ -227,7 +227,9 @@ const DetailModal: React.FC<ProjectModalProps> = ({
|
|
|
pageSize: 21400,
|
|
|
isCreated: '1'
|
|
|
})
|
|
|
- return code === consts.RET_CODE.SUCCESS ? items : []
|
|
|
+ return code === consts.RET_CODE.SUCCESS
|
|
|
+ ? items.map(item => ({ label: item.name, value: item.ID }))
|
|
|
+ : []
|
|
|
}}
|
|
|
/>
|
|
|
<ProFormDependency name={['createdID']}>
|