This commit is contained in:
parent
e675379c08
commit
a9cf3c5f5b
1 changed files with 2 additions and 2 deletions
|
@ -280,11 +280,11 @@ export const kernelError = () => {
|
|||
}
|
||||
};
|
||||
|
||||
export const exitSiYuan = () => {
|
||||
export const exitSiYuan = async () => {
|
||||
hideAllElements(["util"]);
|
||||
/// #if MOBILE
|
||||
if (window.siyuan.mobile.editor) {
|
||||
saveScroll(window.siyuan.mobile.editor.protyle);
|
||||
await saveScroll(window.siyuan.mobile.editor.protyle);
|
||||
}
|
||||
/// #endif
|
||||
fetchPost("/api/system/exit", {force: false}, (response) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue