修复备忘录列表异常

Signed-off-by: nobbo <gaoshang22@huawei.com>
This commit is contained in:
nobbo 2023-09-27 09:46:13 +08:00
parent 02f7ab595b
commit 57ddb62f37

View File

@ -489,6 +489,7 @@ export struct NoteItemListComp {
}
.padding({ left: 24, right: 24, bottom: 12 })
}
.visibility((FolderUtil.getNoteCount(AppStorage.Get('AllNoteArray'), this.selectedFolderData.uuid) == 0) ? Visibility.None : Visibility.Visible)
}, noteItem => JSON.stringify(noteItem))
}
.id(this.isUpdate + '')