线上课新建、编辑部门、分类选择器

This commit is contained in:
禺狨 2023-03-28 16:38:53 +08:00
parent 12b1c0ff3d
commit 2ad40867dd
2 changed files with 4 additions and 0 deletions

View File

@ -408,6 +408,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
rules={[{ required: true, message: "请选择课程分类!" }]}
>
<TreeSelect
showCheckedStrategy={TreeSelect.SHOW_ALL}
allowClear
multiple
style={{ width: 424 }}
@ -468,6 +469,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
]}
>
<TreeSelect
showCheckedStrategy={TreeSelect.SHOW_ALL}
style={{ width: 424 }}
treeData={departments}
multiple

View File

@ -193,6 +193,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
rules={[{ required: true, message: "请选择课程分类!" }]}
>
<TreeSelect
showCheckedStrategy={TreeSelect.SHOW_ALL}
allowClear
multiple
style={{ width: 424 }}
@ -253,6 +254,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
]}
>
<TreeSelect
showCheckedStrategy={TreeSelect.SHOW_ALL}
style={{ width: 424 }}
treeData={departments}
multiple