暂时屏蔽5分钟下麦
This commit is contained in:
parent
d4c26577da
commit
d6718ae65b
|
|
@ -134,32 +134,32 @@ Page({
|
||||||
'footerList.**': function (footerList) {
|
'footerList.**': function (footerList) {
|
||||||
const footerListTemplate = [...footerList];
|
const footerListTemplate = [...footerList];
|
||||||
footerListTemplate[3].show = footerListTemplate[2].active
|
footerListTemplate[3].show = footerListTemplate[2].active
|
||||||
if (!footerListTemplate[1].active && !footerListTemplate[2].active) {
|
// if (!footerListTemplate[1].active && !footerListTemplate[2].active) {
|
||||||
if (isAutoApplySpeakTime) {
|
// if (isAutoApplySpeakTime) {
|
||||||
clearTimeout(isAutoApplySpeakTime)
|
// clearTimeout(isAutoApplySpeakTime)
|
||||||
isAutoApplySpeakTime = ''
|
// isAutoApplySpeakTime = ''
|
||||||
}
|
// }
|
||||||
isAutoApplySpeakTime = setTimeout(() => {
|
// isAutoApplySpeakTime = setTimeout(() => {
|
||||||
let userItem = this.data.roomUserList.find((item: any) => item.uid === this.data.user.uid)
|
// 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) {
|
// if (!role.ID.includes(this.data.user.roleId) && userItem && userItem.isRoomManager) {
|
||||||
DeleteRoomManager({
|
// DeleteRoomManager({
|
||||||
roomId: this.data.roomInfo.id,
|
// roomId: this.data.roomInfo.id,
|
||||||
roomNum: this.data.channelId,
|
// roomNum: this.data.channelId,
|
||||||
userId: userItem.uid
|
// userId: userItem.uid
|
||||||
})
|
// })
|
||||||
this.setData({
|
// this.setData({
|
||||||
isAutoApplySpeakDialog: true
|
// isAutoApplySpeakDialog: true
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
clearTimeout(isAutoApplySpeakTime)
|
// clearTimeout(isAutoApplySpeakTime)
|
||||||
isAutoApplySpeakTime = ''
|
// isAutoApplySpeakTime = ''
|
||||||
}, 1000 * 60 * 5);
|
// }, 1000 * 60 * 5);
|
||||||
} else {
|
// } else {
|
||||||
if (isAutoApplySpeakTime) {
|
// if (isAutoApplySpeakTime) {
|
||||||
clearTimeout(isAutoApplySpeakTime)
|
// clearTimeout(isAutoApplySpeakTime)
|
||||||
isAutoApplySpeakTime = ''
|
// isAutoApplySpeakTime = ''
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
this.setData({
|
this.setData({
|
||||||
footerList: footerListTemplate
|
footerList: footerListTemplate
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue