cxmo 1 năm trước cách đây
mục cha
commit
065be4728f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/training_manage/modifyVideoPage.vue

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

@@ -302,7 +302,7 @@ export default {
             let res = {}
             await this.modifyVideo('publish');
             if(this.form.VideoId){
-                res = await VideoInterface.publishVideo({VideoId:this.form.VideoId,PublishState:1})
+                res = await VideoInterface.publishVideo({VideoId:Number(this.form.VideoId),PublishState:1})
                 if(res.Ret!==200) return;
                 this.$message.success("发布成功");
             }