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':