|
@@ -998,9 +998,24 @@ export default {
|
|
|
var that =this;
|
|
|
this.liveLive["title"] = this.closeMsg;
|
|
|
openLive(this.liveLive).then(response => {
|
|
|
- this.$modal.msgSuccess(this.liveLive.islive==1?"关播":"虚拟开播"+"成功");
|
|
|
- this.liveOpen = false;
|
|
|
- this.getList();
|
|
|
+ that.liveOpen = false;
|
|
|
+ setTimeout(function (){
|
|
|
+ that.getList();
|
|
|
+ },4000);
|
|
|
+ if(this.liveLive.islive!=1){
|
|
|
+ that.$alert(response["msg"], '开播成功', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ callback: action => {
|
|
|
+ this.$message({
|
|
|
+ type: 'info',
|
|
|
+ message: `action: ${ action }`
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }else{
|
|
|
+ that.$modal.msgSuccess(this.liveLive.islive==1?"关播":"虚拟开播"+"成功");
|
|
|
+ }
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
/** 删除按钮操作 */
|