From 088b4e01aa730e605bb1349d39a2a27726ba234b Mon Sep 17 00:00:00 2001 From: youngq Date: Fri, 27 Sep 2024 15:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BF=AB=E9=80=9F=E9=80=80?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Meeting/index.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index dd3dfe0..8371a81 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -998,11 +998,13 @@ const Meeting: React.FC = () => { } // 全员观看 const getShowUser = async (): Promise => { - 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 => {