From 2b8503b94f24d16b5a0a0514c1253de0001a8c0b Mon Sep 17 00:00:00 2001 From: liujuan Date: Wed, 17 Apr 2024 01:50:47 +0000 Subject: [PATCH] update product/phone/src/main/ets/pages/index.ets. Signed-off-by: liujuan --- product/phone/src/main/ets/pages/index.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/phone/src/main/ets/pages/index.ets b/product/phone/src/main/ets/pages/index.ets index 399bfc10..38b84382 100644 --- a/product/phone/src/main/ets/pages/index.ets +++ b/product/phone/src/main/ets/pages/index.ets @@ -134,7 +134,7 @@ struct IndexPage { this.preIndex = data as number; this.currentIndex = this.preIndex; }).catch((err: Error) => { - this.updatePhotosStore('lastPage', 0); + this.updatePhotosStore('lastPage', 0); }); } else { Log.info(TAG, 'photosPreferences is undefined'); @@ -302,7 +302,7 @@ struct IndexPage { isShowSelectPhotoBrowser: $isShowSelectPhotoBrowser, pageStatus: this.pageStatus }) - .visibility(this.currentIndex === Constants.ALBUM_PAGE_INDEX ? Visibility.Visible : Visibility.Hidden) + .visibility(this.currentIndex === Constants.ALBUM_PAGE_INDEX ? Visibility.Visible : Visibility.Hidden) } } .animationDuration(Constants.NUMBER_0)