Skip to content

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

:iphone: https://github.com/siyuan-note/siyuan/issues/1359 批量移动

Vanessa41a4d2fe9c1e
diff --git a/app/src/layout/dock/Files.ts b/app/src/layout/dock/Files.ts
index ba311c7ac4..26d78d6666 100644
--- a/app/src/layout/dock/Files.ts
+++ b/app/src/layout/dock/Files.ts
@@ -420,6 +420,7 @@ export class Files extends Model {
});
if (newElement.classList.contains("dragover")) {
await fetchPost("/api/filetree/moveDocs", {
+ toNotebook: toURL,
fromPaths,
toPath,
});
@@ -447,6 +448,7 @@ export class Files extends Model {
const toDir = pathPosix().dirname(toPath);
if (fromPaths.length > 0) {
await fetchPost("/api/filetree/moveDocs", {
+ toNotebook: toURL,
fromPaths,
toPath: toDir === "/" ? "/" : toDir + ".sy",
});