Commit e61490bc by maolipeng

fix:没有简介不显示上课信息

parent 1f387492
...@@ -105,9 +105,11 @@ function CreateWorkWXCourse() { ...@@ -105,9 +105,11 @@ function CreateWorkWXCourse() {
default: default:
break; break;
} }
return item; return item;
}); });
if (!hasIntro) {
setGetInfo(true)
}
const _basicInfo = { const _basicInfo = {
courseName, courseName,
...@@ -134,6 +136,7 @@ function CreateWorkWXCourse() { ...@@ -134,6 +136,7 @@ function CreateWorkWXCourse() {
setBasicInfo(_basicInfo) setBasicInfo(_basicInfo)
setClassInfo(_classInfo) setClassInfo(_classInfo)
setCourseState(courseState) setCourseState(courseState)
}); });
}; };
......
...@@ -65,14 +65,10 @@ class LiveCourseList extends React.Component { ...@@ -65,14 +65,10 @@ class LiveCourseList extends React.Component {
this.parseColumns(); this.parseColumns();
} }
componentDidMount() { componentDidMount() {
<<<<<<< feature/zhujian/0726/qwLiving
this.getDownloadVersion();
=======
this.getDownloadVersion() this.getDownloadVersion()
Bus.bind('freshCourseList',()=>{ Bus.bind('freshCourseList',()=>{
this.refreshCourseList() this.refreshCourseList()
}) })
>>>>>>> local
} }
// 显示分享弹窗 // 显示分享弹窗
handleShowShareModal = (item, needStr = false) => { handleShowShareModal = (item, needStr = false) => {
......
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