Commit 4149e59c by maolipeng

fix:编辑时不显示开始时间和讲师

parent 3e261a5b
...@@ -108,9 +108,7 @@ function CreateWorkWXCourse() { ...@@ -108,9 +108,7 @@ function CreateWorkWXCourse() {
} }
return item; return item;
}); });
if (!hasIntro) {
setGetInfo(true)
}
const _basicInfo = { const _basicInfo = {
courseName, courseName,
...@@ -138,6 +136,9 @@ function CreateWorkWXCourse() { ...@@ -138,6 +136,9 @@ function CreateWorkWXCourse() {
setBasicInfo(_basicInfo) setBasicInfo(_basicInfo)
setClassInfo(_classInfo) setClassInfo(_classInfo)
setCourseState(courseState) setCourseState(courseState)
if (!hasIntro) {
setGetInfo(true)
}
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment