From 4574c1595ea37242913be53cbca855eea4e3c129 Mon Sep 17 00:00:00 2001 From: nobbo Date: Wed, 27 Sep 2023 09:46:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=87=E5=BF=98=E5=BD=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nobbo --- features/src/main/ets/components/NoteListComp.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/features/src/main/ets/components/NoteListComp.ets b/features/src/main/ets/components/NoteListComp.ets index d192d7d..b21cac3 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 + '') -- Gitee