Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/1359 批量删除

Vanessa4ee2fa6c0fac
diff --git a/app/src/editor/deleteFile.ts b/app/src/editor/deleteFile.ts
index 6c042632b8..cd8e0f0789 100644
--- a/app/src/editor/deleteFile.ts
+++ b/app/src/editor/deleteFile.ts
@@ -60,7 +60,7 @@ export const deleteFiles = (liElements: Element[]) => {
}
confirmDialog(window.siyuan.languages.deleteOpConfirm,
window.siyuan.languages.confirmRemoveAll, () => {
- fetchPost("/api/notebook/removeDocs", {
+ fetchPost("/api/filetree/removeDocs", {
paths
});
});