mirror of
https://github.com/PlayEdu/backend
synced 2025-06-08 05:44:12 +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: "请选择课程分类!" }]}
|
||||
>
|
||||
<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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user