diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..b68e4c8 Binary files /dev/null and b/dist.zip differ diff --git a/src/views/modules/course/video-add-or-update.vue b/src/views/modules/course/video-add-or-update.vue index eb0467b..25c14b7 100644 --- a/src/views/modules/course/video-add-or-update.vue +++ b/src/views/modules/course/video-add-or-update.vue @@ -140,7 +140,9 @@ methods: { init(row, chapter_id) { console.log('row2', row) - this.dataForm = row || {} + this.dataForm = row || { + type:1 + } this.dataForm.chapterId = chapter_id || '' this.visible = true if (this.dataForm.video && this.dataForm.video != "") {