|
@@ -327,7 +327,11 @@ export default {
|
|
|
};
|
|
};
|
|
|
updateLiveRedConf(doRedParam).then(response => {
|
|
updateLiveRedConf(doRedParam).then(response => {
|
|
|
if(response.code === 200){
|
|
if(response.code === 200){
|
|
|
- this.$store.state.liveWs.sendWs("red",response.msg, row.redId,this.liveId);
|
|
|
|
|
|
|
+ const msg = {
|
|
|
|
|
+ cmd: 'red',
|
|
|
|
|
+ data: doRedParam
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$store.state.liveWs.send(JSON.stringify(msg));
|
|
|
this.msgSuccess("修改成功");
|
|
this.msgSuccess("修改成功");
|
|
|
}else{
|
|
}else{
|
|
|
this.msgError(response.msg);
|
|
this.msgError(response.msg);
|