This commit is contained in:
parent
25e9f16af0
commit
7b4cfbeb1d
|
|
@ -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)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue