|
|
|
@ -540,7 +540,11 @@ |
|
|
|
document.getElementById('course-redactor__saving-status').innerText = ''; |
|
|
|
document.getElementById('course-redactor__saving-status').innerText = ''; |
|
|
|
}, 2000); |
|
|
|
}, 2000); |
|
|
|
this.courseSyncHook = true; |
|
|
|
this.courseSyncHook = true; |
|
|
|
this.course = api.convertCourseJson(response.data); |
|
|
|
const courseData = api.convertCourseJson(response.data); |
|
|
|
|
|
|
|
if (this.course.coverImage) { |
|
|
|
|
|
|
|
courseData.coverImage = this.course.coverImage; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.course = courseData; |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.courseSyncHook = false; |
|
|
|
this.courseSyncHook = false; |
|
|
|
}) |
|
|
|
}) |
|
|
|
|