Vanessa 2025-03-28 13:52:27 +08:00
parent 8e84c83a4a
commit 06417acc1f
2 changed files with 2 additions and 2 deletions

View file

@ -326,7 +326,7 @@ export class Files extends Model {
} else if (type === "addLocal") {
fetchPost("/api/filetree/moveLocalShorthands", {
"notebook": notebookId,
"path": dayjs().format("YYYYMMDDHHmmss")
"path": dayjs().format("YYYY-MM-DD HH:mm:ss")
});
this.element.querySelectorAll('[data-type="addLocal"]').forEach(item => {
item.remove();

View file

@ -221,7 +221,7 @@ export class MobileFiles extends Model {
} else if (type === "addLocal") {
fetchPost("/api/filetree/moveLocalShorthands", {
"notebook": notebookId,
"path": dayjs().format("YYYYMMDDHHmmss")
"path": dayjs().format("YYYY-MM-DD HH:mm:ss")
});
this.element.querySelectorAll('[data-type="addLocal"]').forEach(item => {
item.remove();