outaozhen 3 년 전
부모
커밋
d4ecf266d5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/Institutions/Staff/components/StaffDrawer.tsx

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

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