Commit d58e69f8 authored by IvyXia123's avatar IvyXia123

测试1.9

parent 006260a4
...@@ -492,8 +492,10 @@ ...@@ -492,8 +492,10 @@
}, },
// 显示课程弹窗 // 显示课程弹窗
showDia(data,i){ showDia(data,i){
alert("弹窗显示");
alert(data.push_time)
if(data.push_time !== '0000-00-00'){ if(data.push_time !== '0000-00-00'){
alert(888) alert("弹窗显示22")
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;
...@@ -735,19 +737,12 @@ ...@@ -735,19 +737,12 @@
// 加载课程 // 加载课程
// 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