This commit is contained in:
yj 2025-02-20 17:56:56 +08:00
parent b786ed9923
commit dddd1e16f5
1 changed files with 6 additions and 0 deletions

View File

@ -462,6 +462,12 @@ Page({
}, },
startSignalr() { startSignalr() {
onSignalr(async (item) => { 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') const userInfo: any = await getStorage('user')
switch (item.key) { switch (item.key) {
// 聊天 // 聊天