基本还原了便签列表项;

添加了mock数据;
This commit is contained in:
User
2025-10-10 16:55:51 +08:00
parent d0a47b44d2
commit a03384f170
7 changed files with 246 additions and 315 deletions

View File

@@ -28,6 +28,9 @@ export const addNote = async (note) => {
id: Date.now().toString(),
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
isStarred: note.isStarred || false,
isTop: note.isTop || false,
hasImage: note.hasImage || false
};
const notes = await getNotes();