feat: 课程创建
This commit is contained in:
parent
220b46091d
commit
15537d5c13
|
@ -16,10 +16,15 @@ import MediaBind from "./MediaBind";
|
||||||
|
|
||||||
const CourseCreate = () => {
|
const CourseCreate = () => {
|
||||||
const [current, setCurrent] = useState(0);
|
const [current, setCurrent] = useState(0);
|
||||||
|
|
||||||
|
const onBasicFormChange = (form: any) => {
|
||||||
|
console.log(form);
|
||||||
|
};
|
||||||
|
|
||||||
const steps = [
|
const steps = [
|
||||||
{
|
{
|
||||||
title: "基本信息",
|
title: "基本信息",
|
||||||
content: <BasicForm />,
|
content: <BasicForm onChange={onBasicFormChange} />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "媒体资源",
|
title: "媒体资源",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user