Commit 1acc779b authored by 刘用法's avatar 刘用法
parents 2f395af8 1784ddb8
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
} }
}, },
params:{ params:{
course_id:0, course_id:173,
}, },
gklog: '', gklog: '',
videoTotalTime: 0, videoTotalTime: 0,
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
this.section_content = res.data.content; this.section_content = res.data.content;
this.teacher.name = res.data.teachers[0].name; this.teacher.name = res.data.teachers[0].name;
this.teacher.avatar = res.data.teachers[0].avatar; this.teacher.avatar = res.data.teachers[0].avatar;
this.param.course_id = res.data.course_id; this.params.course_id = res.data.course_id;
if (this.isShowVideo) { if (this.isShowVideo) {
let coureWareList = res.data.courseware; let coureWareList = res.data.courseware;
this.courseSrc = coureWareList[0].src; this.courseSrc = coureWareList[0].src;
...@@ -277,9 +277,9 @@ ...@@ -277,9 +277,9 @@
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {
if (res.data) { if (res.data) {
debugger // debugger
this.list = this.list.concat(res.data); // this.list = this.list.concat(res.data);
console.log(this.list) // console.log(this.list)
} }
} else { } else {
//接口请求失败的处理 //接口请求失败的处理
......
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