From d6718ae65bd7dab668299f022a4b2c22f865f575 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Wed, 26 Feb 2025 15:32:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=B1=8F=E8=94=BD5=E5=88=86?= =?UTF-8?q?=E9=92=9F=E4=B8=8B=E9=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/meeting/index.ts | 52 +++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/pages/meeting/index.ts b/pages/meeting/index.ts index 09b9a6e..d6eb44e 100644 --- a/pages/meeting/index.ts +++ b/pages/meeting/index.ts @@ -134,32 +134,32 @@ Page({ 'footerList.**': function (footerList) { const footerListTemplate = [...footerList]; footerListTemplate[3].show = footerListTemplate[2].active - if (!footerListTemplate[1].active && !footerListTemplate[2].active) { - if (isAutoApplySpeakTime) { - clearTimeout(isAutoApplySpeakTime) - isAutoApplySpeakTime = '' - } - isAutoApplySpeakTime = setTimeout(() => { - let userItem = this.data.roomUserList.find((item: any) => item.uid === this.data.user.uid) - if (!role.ID.includes(this.data.user.roleId) && userItem && userItem.isRoomManager) { - DeleteRoomManager({ - roomId: this.data.roomInfo.id, - roomNum: this.data.channelId, - userId: userItem.uid - }) - this.setData({ - isAutoApplySpeakDialog: true - }) - } - clearTimeout(isAutoApplySpeakTime) - isAutoApplySpeakTime = '' - }, 1000 * 60 * 5); - } else { - if (isAutoApplySpeakTime) { - clearTimeout(isAutoApplySpeakTime) - isAutoApplySpeakTime = '' - } - } + // if (!footerListTemplate[1].active && !footerListTemplate[2].active) { + // if (isAutoApplySpeakTime) { + // clearTimeout(isAutoApplySpeakTime) + // isAutoApplySpeakTime = '' + // } + // isAutoApplySpeakTime = setTimeout(() => { + // let userItem = this.data.roomUserList.find((item: any) => item.uid === this.data.user.uid) + // if (!role.ID.includes(this.data.user.roleId) && userItem && userItem.isRoomManager) { + // DeleteRoomManager({ + // roomId: this.data.roomInfo.id, + // roomNum: this.data.channelId, + // userId: userItem.uid + // }) + // this.setData({ + // isAutoApplySpeakDialog: true + // }) + // } + // clearTimeout(isAutoApplySpeakTime) + // isAutoApplySpeakTime = '' + // }, 1000 * 60 * 5); + // } else { + // if (isAutoApplySpeakTime) { + // clearTimeout(isAutoApplySpeakTime) + // isAutoApplySpeakTime = '' + // } + // } this.setData({ footerList: footerListTemplate })