浏览代码

录播课

natasha 1 年之前
父节点
当前提交
0ae5d4997b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/content_manage/course_manage/CreateRecorded.vue

+ 2 - 2
src/views/content_manage/course_manage/CreateRecorded.vue

@@ -671,9 +671,9 @@ export default {
             price_discount: form.has_discount===1?form.currentPrice:form.price,
             intro: form.intro
         }
-        if(this.id){
+        if(this.id||this.recordedId){
             MethodName = "/CourseServer/Manager/LBCourseManager/UpdateLBCourse"
-            data.id = this.id
+            data.id = this.id?this.id:this.recordedId
         }
         getLogin(MethodName, data)
         .then((res) => {