yangjie #47

Merged
yangqiang merged 49 commits from yangjie into master 2025-01-24 13:43:09 +08:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 7b4cfbeb1d - Show all commits

View File

@ -109,9 +109,11 @@ const StupWizard = forwardRef((_props: any, ref: any) => {
cursor: 'pointer' cursor: 'pointer'
}} }}
onClick={async () => { onClick={async () => {
const userInfo = JSON.parse(storage.getItem('user') as string)
if (location.hash.indexOf('/meeting') === -1) { if (location.hash.indexOf('/meeting') === -1) {
agora.release() agora.release()
} }
await agora.destroyRendererByConfigPreview(Number(userInfo.screenShareId), c)
setIsStupWizard(false) setIsStupWizard(false)
}} }}
/> />