This commit is contained in:
Vanessa 2022-11-04 15:16:21 +08:00
parent 602ec84a57
commit 89166ca0d5

View file

@ -408,7 +408,7 @@ export class Files extends Model {
fromPaths.push(item.getAttribute("data-path")) fromPaths.push(item.getAttribute("data-path"))
}) })
if (newElement.classList.contains("dragover")) { if (newElement.classList.contains("dragover")) {
await fetchPost("/api/filetree/moveDoc", { await fetchPost("/api/filetree/moveDocs", {
fromPaths, fromPaths,
toPath, toPath,
}); });