mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
🐛 修复锁屏报错
This commit is contained in:
parent
9966bd7980
commit
83fec0f7be
1 changed files with 1 additions and 1 deletions
|
|
@ -806,7 +806,7 @@ app.whenReady().then(() => {
|
|||
|
||||
ipcMain.on('siyuan-lock-screen', () => {
|
||||
BrowserWindow.getAllWindows().forEach(item => {
|
||||
item.browserWindow.webContents.send('siyuan-lock-screen')
|
||||
item.webContents.send('siyuan-lock-screen')
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue