feat: 课程创建

This commit is contained in:
mozzie 2023-03-07 17:44:37 +08:00
parent 220b46091d
commit 15537d5c13

View File

@ -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: "媒体资源",