diff --git a/features/src/main/ets/components/NoteListComp.ets b/features/src/main/ets/components/NoteListComp.ets index d192d7da657e474996ca5752a4c72263876025e6..b21cac36e977d42afcfc06c56e2dd30d184bb810 100644 --- a/features/src/main/ets/components/NoteListComp.ets +++ b/features/src/main/ets/components/NoteListComp.ets @@ -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 + '')