You've already forked SmartisanNote.Remake
基本还原了便签列表项;
添加了mock数据;
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user