|
@@ -299,8 +299,14 @@ export default {
|
|
|
//发布视频
|
|
|
async publishVideo(){
|
|
|
await this.modifyVideo('publish');
|
|
|
- this.$message.success("发布成功")
|
|
|
- this.changeRoute();
|
|
|
+ VideoInterface.publishVideo({
|
|
|
+ VideoId:this.form.VideoId,
|
|
|
+ PublishState:1
|
|
|
+ }).then(res=>{
|
|
|
+ if(res.Ret!==200) return;
|
|
|
+ this.$message.success("发布成功");
|
|
|
+ this.changeRoute();
|
|
|
+ })
|
|
|
},
|
|
|
changeRoute(){
|
|
|
if(ALOSSAbortCheckpoint){
|