mirror of
https://gitee.com/zongzhige/shopxo-uniapp.git
synced 2026-07-05 21:32:26 +08:00
新增直播中断再连接时socket链接
This commit is contained in:
@ -55,6 +55,8 @@ export default {
|
||||
this.windowHeight = data.windowHeight;
|
||||
// #endif
|
||||
this.init();
|
||||
// 页面显示时,连接直播间socket, 避免用户切换到其他页面,再切换回来时,socket连接断开
|
||||
this.$refs.liveContent.socket_connect();
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user