This commit is contained in:
yj 2024-09-27 15:36:57 +08:00
commit aa58f13e7e
1 changed files with 7 additions and 5 deletions

View File

@ -969,11 +969,13 @@ const Meeting: React.FC = () => {
}
// 全员观看
const getShowUser = async (): Promise<void> => {
await GetShowUser(state.channelId).then(async (res) => {
if (res.code === 200 && res.data) {
renderVideo(res.data)
}
})
if (location.href.indexOf('/meeting') !== -1) {
await GetShowUser(state.channelId).then(async (res) => {
if (res.code === 200 && res.data) {
renderVideo(res.data)
}
})
}
}
// 加入房间时间
const changeCurrentSeconds = (): string => {