From 36e1bda4414b5ec2dc02a699dcf1908733ea9bff Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Thu, 16 Jan 2025 14:50:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Meeting/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index 16c1b5c..5e75f23 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -815,7 +815,7 @@ const Meeting: React.FC = () => { if (userId) { GetRoomRtcToken(state.channelId + 'a').then(async res => { if (res.code === 200) { - await agora.allJoinChannelEx(false, res.data.token) + await agora.allJoinChannelEx(false, res.data) } }) } else { @@ -1185,7 +1185,7 @@ const Meeting: React.FC = () => { await GetRoomRtcToken(connection.channelId || '').then(res => { if (res.code === 200) { agora.refreshToken({ - token: res.data.token, + token: res.data, connection, }) } @@ -1683,7 +1683,7 @@ const Meeting: React.FC = () => { if (!statusList.userVideo) { GetRoomRtcToken(state.channelId + 'a').then(async res => { if (res.code === 200) { - await agora.allJoinChannelEx(true, res.data.token) + await agora.allJoinChannelEx(true, res.data) } }) } else {