提交 08c98ac2 编写于 作者: 张磊's avatar 张磊

save

上级 0bd370a8
......@@ -185,11 +185,11 @@ export default {
if(data.role == 2 && this.userTrtcEntryStatus != 2){
return false;
}
console.log('--this.roomId', data, this.roomId);
console.log('--this.roomId',this.currentChat, data, this.roomId);
let url = `/im/team/call/direct/`;
let params = {
imAccId: data.accId,
imTeamId: this.currentChat.tid,
imTeamId: this.currentChat.imTeamId,
liveRoomId: this.roomId
};
this.POST(url, params).then((res) => {
......
......@@ -372,6 +372,7 @@ export default {
return false;
}
const i = this.item;
// this.$store.commit("updateCurrentChat", i);
this.$store.dispatch("gotoInquiry", i);
},
openAdvice() {
......
......@@ -71,6 +71,9 @@ export default {
});
state.socketClient.on('ping', function () {
console.log('[E] 心跳请求已发出 →', true);
if(socketTimer){
clearInterval(socketTimer);
}
});
//收到
state.socketClient.on('pong', function () {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册