Browse Source

feat: 111

lanjianrong 3 năm trước cách đây
mục cha
commit
986ff13e4e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/pages/Project/Management/components/Detail.tsx

+ 3 - 1
src/pages/Project/Management/components/Detail.tsx

@@ -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']}>