yangjie #22
|
|
@ -46,7 +46,11 @@ const Operation: React.FC = () => {
|
|||
key: 'quit',
|
||||
title: '关闭',
|
||||
onClick: (key: OperationKeyType) => {
|
||||
if (location.hash.indexOf('/meeting') === -1) {
|
||||
window.electron.setViewStatus(key)
|
||||
} else {
|
||||
window.electron.quit(false)
|
||||
}
|
||||
},
|
||||
show: true,
|
||||
},])
|
||||
|
|
|
|||
Loading…
Reference in New Issue