An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:iphone: fix https://github.com/siyuan-note/siyuan/issues/6935
Vanessa58b9a2d70883
diff --git a/app/src/mobile/util/menu.ts b/app/src/mobile/util/menu.tsindex 0c834feef8..72cd1b5df0 100644--- a/app/src/mobile/util/menu.ts+++ b/app/src/mobile/util/menu.ts@@ -417,16 +417,19 @@ ${accountHTML}break;} else if (target.id === "menuNewDaily") {newDailyNote();+ closePanel();event.preventDefault();event.stopPropagation();break;} else if (target.id === "menuCard") {openCard();+ closePanel();event.preventDefault();event.stopPropagation();break;} else if (target.id === "menuNewNotebook") {newNotebook();+ closePanel();event.preventDefault();event.stopPropagation();break;@@ -460,6 +463,7 @@ ${accountHTML}break;} else if (target.id === "menuHistory" && !window.siyuan.config.readonly) {openHistory();+ closePanel();event.preventDefault();event.stopPropagation();break;diff --git a/app/src/util/mount.ts b/app/src/util/mount.tsindex b19134382f..ab19377a84 100644--- a/app/src/util/mount.ts+++ b/app/src/util/mount.ts@@ -28,7 +28,7 @@ export const newDailyNote = () => {const localNotebookId = localStorage.getItem(Constants.LOCAL_DAILYNOTEID);if (localNotebookId && getNotebookName(localNotebookId) && !isMobile()) {fetchPost("/api/filetree/createDailyNote", {- notebook:localNotebookId,+ notebook: localNotebookId,app: Constants.SIYUAN_APPID,});} else {@@ -68,7 +68,7 @@ export const newDailyNote = () => {export const mountHelp = () => {const notebookId = Constants.HELP_PATH[window.siyuan.config.appearance.lang as "zh_CN" | "en_US"];- fetchPost("/api/notebook/removeNotebook", {notebook: notebookId, callback:Constants.CB_MOUNT_REMOVE}, () => {+ fetchPost("/api/notebook/removeNotebook", {notebook: notebookId, callback: Constants.CB_MOUNT_REMOVE}, () => {fetchPost("/api/notebook/openNotebook", {callback: Constants.CB_MOUNT_HELP,notebook: notebookId