natasha 1 gadu atpakaļ
vecāks
revīzija
0ae5d4997b

+ 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) => {