This commit is contained in:
parent
b786ed9923
commit
dddd1e16f5
|
|
@ -462,6 +462,12 @@ Page({
|
|||
},
|
||||
startSignalr() {
|
||||
onSignalr(async (item) => {
|
||||
if (this.data.isCurrePage) {
|
||||
const item = this.data.roomUserList.find(row => row.uid === this.data.user.uid)
|
||||
if (item && !item.isRoomManager) {
|
||||
return
|
||||
}
|
||||
}
|
||||
const userInfo: any = await getStorage('user')
|
||||
switch (item.key) {
|
||||
// 聊天
|
||||
|
|
|
|||
Loading…
Reference in New Issue