开始完善便签新建、编辑逻辑

This commit is contained in:
2025-10-12 18:32:25 +08:00
parent 3957a7d3b2
commit 1bb9b4a79e
13 changed files with 696 additions and 1039 deletions

View File

@@ -30,7 +30,9 @@ export const addNote = async (note) => {
updatedAt: new Date().toISOString(),
isStarred: note.isStarred || false,
isTop: note.isTop || false,
hasImage: note.hasImage || false
hasImage: note.hasImage || false,
isDeleted: note.isDeleted || false,
deletedAt: note.deletedAt || null
};
const notes = await getNotes();