Commit 06305622 authored by wangwei's avatar wangwei

category_id 上传

parent 0531bd8b
......@@ -296,7 +296,7 @@
if(this.thisLesson.content.tips){
let query = {
periods_id:this.periods_id,
category_id:this.thisLesson.id,
category_id:this.thisLesson.categoryId,
elementId:this.thisLesson.id,
course_type:this.$route.query.course_type,
parent_category_id:this.parent_category_id,
......@@ -329,7 +329,8 @@
getLessonDetailApi(this.periods_id,data.id,data.ele_id).then(res=>{
res.content = JSON.parse(res.content);
this.thisLesson = res;
this.thisLesson.id = data.id;
this.thisLesson.id = data.ele_id;
this.thisLesson.categoryId = data.id;
this.thisLesson.domTitle = data.name;
this.thisLesson.day = i;
this.popupVisible=true;
......
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