新增直播中断再连接时socket链接
parent
6d7b17576f
commit
7adaab2ee2
|
|
@ -55,6 +55,8 @@ export default {
|
||||||
this.windowHeight = data.windowHeight;
|
this.windowHeight = data.windowHeight;
|
||||||
// #endif
|
// #endif
|
||||||
this.init();
|
this.init();
|
||||||
|
// 页面显示时,连接直播间socket, 避免用户切换到其他页面,再切换回来时,socket连接断开
|
||||||
|
this.$refs.liveContent.socket_connect();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue