This commit is contained in:
parent
3b61578baa
commit
e4f57d216f
|
|
@ -297,7 +297,7 @@ Page({
|
||||||
const isShare = this.data.roomUserList.find(item => item.shareSrc)
|
const isShare = this.data.roomUserList.find(item => item.shareSrc)
|
||||||
const item = getMaxObject(this.data.audioList)
|
const item = getMaxObject(this.data.audioList)
|
||||||
const user = this.data.roomUserList.find(row => item.uid === row.uid)
|
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({
|
this.setData({
|
||||||
currentUid: item.uid
|
currentUid: item.uid
|
||||||
})
|
})
|
||||||
|
|
@ -399,7 +399,7 @@ Page({
|
||||||
isAutoApplySpeakTime = ''
|
isAutoApplySpeakTime = ''
|
||||||
}
|
}
|
||||||
if (isSpeakTime) {
|
if (isSpeakTime) {
|
||||||
clearTimeout(isSpeakTime)
|
clearInterval(isSpeakTime)
|
||||||
isSpeakTime = ''
|
isSpeakTime = ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue