yangjie #15

Merged
yangqiang merged 3 commits from yangjie into master 2024-09-27 15:36:15 +08:00
1 changed files with 7 additions and 5 deletions
Showing only changes of commit 088b4e01aa - Show all commits

View File

@ -998,11 +998,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 => {