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,12 +969,14 @@ const Meeting: React.FC = () => {
} }
// 全员观看 // 全员观看
const getShowUser = async (): Promise<void> => { const getShowUser = async (): Promise<void> => {
if (location.href.indexOf('/meeting') !== -1) {
await GetShowUser(state.channelId).then(async (res) => { await GetShowUser(state.channelId).then(async (res) => {
if (res.code === 200 && res.data) { if (res.code === 200 && res.data) {
renderVideo(res.data) renderVideo(res.data)
} }
}) })
} }
}
// 加入房间时间 // 加入房间时间
const changeCurrentSeconds = (): string => { const changeCurrentSeconds = (): string => {
const duration = dayjs.duration(currentSeconds, 'seconds'); const duration = dayjs.duration(currentSeconds, 'seconds');