From 85de0efd47ee6bf2a737f00408451a824b201417 Mon Sep 17 00:00:00 2001 From: EasyGuohf <163991322+EasyGuohf@users.noreply.github.com> Date: Tue, 17 Jun 2025 16:29:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E8=8C=83=E4=BF=AE=E6=94=B9=EF=BC=9A?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=A9=BA=E6=A0=BC=EF=BC=8C=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E6=88=91=E7=94=A8=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/application/MailBox.ets | 2 +- entry/src/main/ets/application/PhotoAlbum.ets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/application/MailBox.ets b/entry/src/main/ets/application/MailBox.ets index 23032f1..1b086bd 100644 --- a/entry/src/main/ets/application/MailBox.ets +++ b/entry/src/main/ets/application/MailBox.ets @@ -27,7 +27,7 @@ struct MailBox { @StorageProp('currentBreakPoint') currentBreakPoint: string = 'md'; @State isFold: boolean = false; @State sideBarWidth: number = 304; - @StorageProp('topRectHeight') topRectHeight: number = 0; //showSideBar + @StorageProp('topRectHeight') topRectHeight: number = 0; @StorageProp('isShowMailSideBar') isShowMailSideBar: boolean = this.currentBreakPoint === 'lg' ? true : false; aboutToAppear(): void { diff --git a/entry/src/main/ets/application/PhotoAlbum.ets b/entry/src/main/ets/application/PhotoAlbum.ets index 1037234..8fcefbf 100644 --- a/entry/src/main/ets/application/PhotoAlbum.ets +++ b/entry/src/main/ets/application/PhotoAlbum.ets @@ -25,7 +25,7 @@ let storage = LocalStorage.getShared(); @Component struct PhotoAlbum { @State sideBarStatus: boolean = true; - @StorageProp ('currentBreakPoint') currentBreakPoint: string = 'sm'; + @StorageProp('currentBreakPoint') currentBreakPoint: string = 'sm'; @StorageProp('currentBreakpoint') curBp: string = CommonConstants.BREAK_POINT_SM; @StorageProp('topRectHeight') topRectHeight: number = 0; -- Gitee