会议关闭优化
This commit is contained in:
parent
58facc62ea
commit
2389c7c48a
|
|
@ -46,7 +46,11 @@ const Operation: React.FC = () => {
|
||||||
key: 'quit',
|
key: 'quit',
|
||||||
title: '关闭',
|
title: '关闭',
|
||||||
onClick: (key: OperationKeyType) => {
|
onClick: (key: OperationKeyType) => {
|
||||||
window.electron.setViewStatus(key)
|
if (location.hash.indexOf('/meeting') === -1) {
|
||||||
|
window.electron.setViewStatus(key)
|
||||||
|
} else {
|
||||||
|
window.electron.quit(false)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
show: true,
|
show: true,
|
||||||
},])
|
},])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue