Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/5034

Vanessa63f16e6fb00b
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts
index bc446c8941..01b92c7969 100644
--- a/app/src/layout/dock/Files.ts
+++ b/app/src/layout/dock/Files.ts
@@ -384,7 +384,7 @@ export class Files extends Model {
return;
}
if (newElement.classList.contains("dragover")) {
- fetchPost("/api/filetree/moveDoc", {
+ await fetchPost("/api/filetree/moveDoc", {
fromNotebook: fromURL,
toNotebook: toURL,
fromPath,