From 1ec1c1f12f6537c9686eeffc71e23609823ccc9e Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Tue, 18 Feb 2025 11:13:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=B3=E8=AF=B7=E5=8F=91?= =?UTF-8?q?=E8=A8=80=E5=BC=B9=E7=AA=97=E6=94=B9=E6=88=90=E7=8B=AC=E7=AB=8B?= =?UTF-8?q?=E7=AA=97=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Meeting/index.tsx | 73 ++++---------------------------------- 1 file changed, 7 insertions(+), 66 deletions(-) diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index 08e05d7..26de831 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -823,73 +823,14 @@ const Meeting: React.FC = () => { break; // 申请发言 case 'ApplyToSpeak': - setIsScreenCapture(bool => { - if (bool) { - window.electron.setChildWindowShow({ - key: 'noticeWindow', - bool: true - }) - channel.postMessage({ - type: 'noticeItem', - noticeItem: item - }); - } else { - api.open({ - message: '', - description:
- {item.uname}申请发言 -
- - -
-
, - duration: 10, - placement: 'bottomRight', - showProgress: true, - pauseOnHover: false, - }); - } - return bool + window.electron.setChildWindowShow({ + key: 'noticeWindow', + bool: true }) + channel.postMessage({ + type: 'noticeItem', + noticeItem: item + }); break; // 管理员查看随机用户 case 'Watch':