cxmo 1 жил өмнө
parent
commit
065be4728f

+ 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("发布成功");
             }