outaozhen 3 anos atrás
pai
commit
d4ecf266d5

+ 1 - 1
src/pages/Institutions/Staff/components/StaffDrawer.tsx

@@ -102,7 +102,7 @@ const StaffDrawer: React.FC<StaffModalProps> = ({
         widget: 'treeSelect',
         widget: 'treeSelect',
         props: {
         props: {
           treeDefaultExpandAll: true,
           treeDefaultExpandAll: true,
-          treeData: [organizationList.label]
+          treeData: organizationList.map(item => item.label)
         }
         }
       })
       })
     })
     })