cxmo 1 gadu atpakaļ
vecāks
revīzija
065be4728f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 = {}
             let res = {}
             await this.modifyVideo('publish');
             await this.modifyVideo('publish');
             if(this.form.VideoId){
             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;
                 if(res.Ret!==200) return;
                 this.$message.success("发布成功");
                 this.$message.success("发布成功");
             }
             }