diff --git a/src/components/Operation/index.tsx b/src/components/Operation/index.tsx index 7f7ba5d..fa55f90 100644 --- a/src/components/Operation/index.tsx +++ b/src/components/Operation/index.tsx @@ -46,7 +46,11 @@ const Operation: React.FC = () => { key: 'quit', title: '关闭', onClick: (key: OperationKeyType) => { - window.electron.setViewStatus(key) + if (location.hash.indexOf('/meeting') === -1) { + window.electron.setViewStatus(key) + } else { + window.electron.quit(false) + } }, show: true, },])