This commit is contained in:
yj 2025-02-25 09:42:16 +08:00
parent 3b61578baa
commit e4f57d216f
1 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ Page({
const isShare = this.data.roomUserList.find(item => item.shareSrc)
const item = getMaxObject(this.data.audioList)
const user = this.data.roomUserList.find(row => item.uid === row.uid)
if (this.data.currentUid !== item.uid && !isShare && (user && user.isRoom)) {
if (this.data.currentUid !== item.uid && !isShare && (user && user.isRoom) && item.volumeNumber > 0) {
this.setData({
currentUid: item.uid
})
@ -399,7 +399,7 @@ Page({
isAutoApplySpeakTime = ''
}
if (isSpeakTime) {
clearTimeout(isSpeakTime)
clearInterval(isSpeakTime)
isSpeakTime = ''
}
},