Commit 006260a4 authored by IvyXia123's avatar IvyXia123

测试1.8

parent 79df3a51
This diff is collapsed.
......@@ -493,6 +493,7 @@
// 显示课程弹窗
showDia(data,i){
if(data.push_time !== '0000-00-00'){
alert(888)
getLessonDetailApi(this.secActions.id,data.id,data.ele_id).then(res=>{
res.content = JSON.parse(res.content);
this.thisLesson = res;
......@@ -734,12 +735,19 @@
// 加载课程
// console.log(this.secActions)
this.shopType = this.secActions.course_type
alert(this.secActions.is_start_course)
alert('8989')
alert(this.secActions.course_type)
alert(1)
if(this.secActions.is_start_course){
alert(2)
if (this.secActions.course_type==0){
// 月课
// debugger
alert(3)
this.getUnitList()
}else{
alert(4)
this.getLessonList();
}
}
......
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