From 7b4cfbeb1d2b783f003b17d5427fe90036499b01 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Fri, 24 Jan 2025 09:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/StupWizard/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/StupWizard/index.tsx b/src/components/StupWizard/index.tsx index 6e59b4b..06e17de 100644 --- a/src/components/StupWizard/index.tsx +++ b/src/components/StupWizard/index.tsx @@ -109,9 +109,11 @@ const StupWizard = forwardRef((_props: any, ref: any) => { cursor: 'pointer' }} onClick={async () => { + const userInfo = JSON.parse(storage.getItem('user') as string) if (location.hash.indexOf('/meeting') === -1) { agora.release() } + await agora.destroyRendererByConfigPreview(Number(userInfo.screenShareId), c) setIsStupWizard(false) }} />