Vanessa 2024-10-28 22:04:48 +08:00
parent 1d142c9df1
commit f2a53014fb
16 changed files with 32 additions and 18 deletions

View file

@ -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);
}
};