cxmo 1 年之前
父节点
当前提交
5d9027141b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/training_manage/modifyVideoPage.vue

+ 1 - 1
src/views/training_manage/modifyVideoPage.vue

@@ -295,7 +295,7 @@ export default {
                 return;
             type!=='publish'&&this.$message.success(`${this.form.VideoId ? '编辑' : '添加'}成功`);
             type!=='publish'&&this.changeRoute();
-            !this.form.VideoId&&(this.form.VideoId = res.Data?res.Data.VideoId:'');
+            !this.form.VideoId&&(this.form.VideoId = res.Data?res.Data:'');
         },
         //发布视频
         async publishVideo(){