An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/8670
Vanessafb29e0be9f4a
diff --git a/app/src/dialog/processSystem.ts b/app/src/dialog/processSystem.tsindex 40b02e4acb..b8d1e63fa9 100644--- a/app/src/dialog/processSystem.ts+++ b/app/src/dialog/processSystem.ts@@ -21,6 +21,7 @@ import {Tab} from "../layout/Tab";import {setEmpty} from "../mobile/util/setEmpty";import {hideElements} from "../protyle/ui/hideElements";import {App} from "../index";+import {saveScroll} from "../protyle/scroll/saveScroll";const updateTitle = (rootID: string, tab: Tab) => {fetchPost("/api/block/getDocInfo", {@@ -168,6 +169,9 @@ export const kernelError = () => {};export const exitSiYuan = () => {+ /// #if MOBILE+ saveScroll(window.siyuan.mobile.editor.protyle);+ /// #endiffetchPost("/api/system/exit", {force: false}, (response) => {if (response.code === 1) { // 同步执行失败const msgId = showMessage(response.msg, response.data.closeTimeout, "error");