部门默认展开

This commit is contained in:
禺狨
2023-04-11 16:11:22 +08:00
parent 7bc01276b5
commit 72a91d642a
7 changed files with 22 additions and 11 deletions

View File

@@ -486,6 +486,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
treeData={departments}
multiple
allowClear
treeDefaultExpandAll
placeholder="请选择部门"
/>
</Form.Item>

View File

@@ -242,6 +242,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
treeData={departments}
multiple
allowClear
treeDefaultExpandAll
placeholder="请选择部门"
/>
</Form.Item>