mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-23 07:00:09 +00:00
update product/phone/src/main/ets/pages/index.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
74651b8a7c
commit
2b8503b94f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user