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/7353
Vanessa9db94621e920
diff --git a/app/src/mobile/util/menu.ts b/app/src/mobile/util/menu.tsindex 5b7f35f1a6..bd03212463 100644--- a/app/src/mobile/util/menu.ts+++ b/app/src/mobile/util/menu.ts@@ -478,10 +478,11 @@ ${accountHTML}event.stopPropagation();break;} else if (target.getAttribute("data-type") === "remove") {- const p = target.parentElement.getAttribute("data-path");- fetchPost("/api/system/removeWorkspaceDir", {path: p}, () => {- genWorkspace(workspaceDirElement);- });+ confirmDialog(window.siyuan.languages.remove, window.siyuan.languages.removeWorkspaceTip, () => {+ fetchPost("/api/system/removeWorkspaceDir", {path: target.parentElement.getAttribute("data-path")}, () => {+ genWorkspace(workspaceDirElement);+ });+ })event.preventDefault();event.stopPropagation();break;