学员页面重复请求api和分类默认展开

This commit is contained in:
禺狨
2023-04-11 16:28:49 +08:00
parent dfc33aa754
commit d90afcc08b
5 changed files with 28 additions and 18 deletions

View File

@@ -434,6 +434,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
style={{ width: 424 }}
treeData={categories}
placeholder="请选择课程分类"
treeDefaultExpandAll
/>
</Form.Item>
<Form.Item

View File

@@ -190,6 +190,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
style={{ width: 424 }}
treeData={categories}
placeholder="请选择课程分类"
treeDefaultExpandAll
/>
</Form.Item>
<Form.Item