yangjie #16

Merged
yangqiang merged 6 commits from yangjie into master 2024-09-27 16:48:18 +08:00
1 changed files with 7 additions and 5 deletions
Showing only changes of commit aa58f13e7e - Show all commits

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 => {