cxmo 1 年之前
父节点
当前提交
065be4728f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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("发布成功");
             }