mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
aaec2300a9
commit
a8a2fe8529
3 changed files with 5 additions and 6 deletions
|
|
@ -347,6 +347,9 @@ const initWindow = () => {
|
|||
}
|
||||
});
|
||||
});
|
||||
ipcRenderer.on(Constants.SIYUAN_LOCK_SCREEN, () => {
|
||||
fetchPost("/api/system/logoutAuth", {});
|
||||
});
|
||||
ipcRenderer.on(Constants.SIYUAN_SAVE_CLOSE, (event, close) => {
|
||||
winOnClose(currentWindow, close);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue