Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle: https://github.com/siyuan-note/siyuan/issues/4567

Vanessa652574839864
diff --git a/app/src/mobile/util/menu.ts b/app/src/mobile/util/menu.ts
index a6183307a4..00539eb754 100644
--- a/app/src/mobile/util/menu.ts
+++ b/app/src/mobile/util/menu.ts
@@ -479,7 +479,9 @@ ${accountHTML}
} else if (target.getAttribute("data-type") === "remove") {
const p = target.parentElement.getAttribute("data-path");
confirmDialog("⚠️ " + window.siyuan.languages.remove + " " + pathPosix().basename(p), window.siyuan.languages.removeWorkspaceTip, () => {
- fetchPost("/api/system/removeWorkspaceDir", {path: p});
+ fetchPost("/api/system/removeWorkspaceDir", {path: p}, () => {
+ genWorkspace(workspaceDirElement);
+ });
});
event.preventDefault();
event.stopPropagation();