diff --git a/src/App.tsx b/src/App.tsx index 018c99f..b73bfcd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -164,6 +164,7 @@ const App: React.FC = () => { if (location.href.indexOf('/login') !== -1) { window.electron.onStop() } + message.destroy('cameraTemporarily') }, [navigate]) } useEffect(() => { diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index 267fccb..2d0a840 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -1060,6 +1060,14 @@ const Meeting: React.FC = () => { } return bool }) + } else if (reason === 3 || reason === 4) { + message.error({ + content: