桌面不发消息
This commit is contained in:
parent
d1454a288f
commit
95a80c2b99
|
@ -38,12 +38,12 @@ export class Classcourse {
|
||||||
if (isCourse) {
|
if (isCourse) {
|
||||||
// 连接socket
|
// 连接socket
|
||||||
ChatWs.id = classcourse.timgroupid // 群组id
|
ChatWs.id = classcourse.timgroupid // 群组id
|
||||||
if (!ChatWs.ws) {
|
// if (!ChatWs.ws) {
|
||||||
ChatWs.init().then(_ => {
|
// ChatWs.init().then(_ => {
|
||||||
isPublic && ChatWs.sendMsg('open', {id: classcourse.id})
|
// isPublic && ChatWs.sendMsg('open', {id: classcourse.id})
|
||||||
// isPublic && console.log('socket-开课消息-已发送')
|
// // isPublic && console.log('socket-开课消息-已发送')
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
this.classcourse = classcourse // 课堂信息
|
this.classcourse = classcourse // 课堂信息
|
||||||
this.id = classcourse.id // 课堂id
|
this.id = classcourse.id // 课堂id
|
||||||
// 如果课堂信息有paging,则更新当前页码
|
// 如果课堂信息有paging,则更新当前页码
|
||||||
|
|
Loading…
Reference in New Issue