From cad0931c87f824feeab6277ec01a6eb06b41607e Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 6 Aug 2024 15:13:11 +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/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index cd0bf27..d93feee 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -124,7 +124,9 @@ const App: React.FC = () => { storage.setItem('reconnect', true) }) window.electron.onUpdate((_e: any, data: any) => { - updateModalRef.current.changeModal(data) + if (location.hash.indexOf('/meeting') !== -1) { + updateModalRef.current.changeModal(data) + } }) if (!storage.getItem('setting')) { storage.setItem('setting', JSON.stringify({