Commit 006260a4 authored by IvyXia123's avatar IvyXia123

测试1.8

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