From ec8ec8d9cb236c8a5a0f7a27840f11660cab7667 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 12 Nov 2024 09:10:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=91=84=E5=83=8F=E5=A4=B4=E8=A2=AB=E6=9A=82?= =?UTF-8?q?=E7=94=A8=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 1 + src/page/Meeting/index.tsx | 8 ++++++++ 2 files changed, 9 insertions(+) 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: