mirror of
https://github.com/PlayEdu/backend
synced 2025-06-08 04:04:27 +08:00
线上课新建、编辑部门、分类选择器
This commit is contained in:
parent
12b1c0ff3d
commit
2ad40867dd
@ -408,6 +408,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
|
|||||||
rules={[{ required: true, message: "请选择课程分类!" }]}
|
rules={[{ required: true, message: "请选择课程分类!" }]}
|
||||||
>
|
>
|
||||||
<TreeSelect
|
<TreeSelect
|
||||||
|
showCheckedStrategy={TreeSelect.SHOW_ALL}
|
||||||
allowClear
|
allowClear
|
||||||
multiple
|
multiple
|
||||||
style={{ width: 424 }}
|
style={{ width: 424 }}
|
||||||
@ -468,6 +469,7 @@ export const CourseCreate: React.FC<PropInterface> = ({
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<TreeSelect
|
<TreeSelect
|
||||||
|
showCheckedStrategy={TreeSelect.SHOW_ALL}
|
||||||
style={{ width: 424 }}
|
style={{ width: 424 }}
|
||||||
treeData={departments}
|
treeData={departments}
|
||||||
multiple
|
multiple
|
||||||
|
@ -193,6 +193,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
|||||||
rules={[{ required: true, message: "请选择课程分类!" }]}
|
rules={[{ required: true, message: "请选择课程分类!" }]}
|
||||||
>
|
>
|
||||||
<TreeSelect
|
<TreeSelect
|
||||||
|
showCheckedStrategy={TreeSelect.SHOW_ALL}
|
||||||
allowClear
|
allowClear
|
||||||
multiple
|
multiple
|
||||||
style={{ width: 424 }}
|
style={{ width: 424 }}
|
||||||
@ -253,6 +254,7 @@ export const CourseUpdate: React.FC<PropInterface> = ({
|
|||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<TreeSelect
|
<TreeSelect
|
||||||
|
showCheckedStrategy={TreeSelect.SHOW_ALL}
|
||||||
style={{ width: 424 }}
|
style={{ width: 424 }}
|
||||||
treeData={departments}
|
treeData={departments}
|
||||||
multiple
|
multiple
|
||||||
|
Loading…
x
Reference in New Issue
Block a user