mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 23:06:09 +01:00
This commit is contained in:
parent
1d142c9df1
commit
f2a53014fb
16 changed files with 32 additions and 18 deletions
|
|
@ -31,7 +31,7 @@ export const deleteFile = (notebookId: string, pathString: string) => {
|
|||
notebook: notebookId,
|
||||
path: pathString
|
||||
});
|
||||
});
|
||||
}, undefined, true);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ export const deleteFiles = (liElements: Element[]) => {
|
|||
notebook: itemNotebookId,
|
||||
callback: Constants.CB_MOUNT_REMOVE
|
||||
});
|
||||
});
|
||||
}, undefined, true);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
@ -73,6 +73,6 @@ export const deleteFiles = (liElements: Element[]) => {
|
|||
fetchPost("/api/filetree/removeDocs", {
|
||||
paths
|
||||
});
|
||||
});
|
||||
}, undefined, true);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue