cxmo 1 year ago
parent
commit
065be4728f
1 changed files with 1 additions and 1 deletions
  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("发布成功");
             }