natasha hace 1 año
padre
commit
0ae5d4997b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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) => {