修复鼠标不会隐藏的问题
parent
6ceb984393
commit
bca5b13516
|
@ -68,6 +68,8 @@ exports.createWindow = async userApi => {
|
|||
})
|
||||
}
|
||||
global.modules.userApiWindow.webContents.session.setPermissionRequestHandler((webContents, permission, callback) => {
|
||||
if (webContents === global.modules.mainWindow.webContents) return callback(true)
|
||||
|
||||
// eslint-disable-next-line node/no-callback-literal
|
||||
callback(false)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue