修复多选机制问题

This commit is contained in:
lyswhut
2020-05-02 18:49:24 +08:00
parent 78c5250f1b
commit 2cabe6e58e
5 changed files with 45 additions and 37 deletions
+3
View File
@@ -21,6 +21,9 @@ module.exports = mainWindow => {
// mainWindow.on('restore', () => {
// mainWindow.webContents.send('restore')
// })
mainWindow.on('focus', () => {
mainWindow.webContents.send('focus')
})
mainWindow.once('ready-to-show', () => {
mainWindow.show()