cxmo hai 1 ano
pai
achega
5d9027141b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(){