mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-23 07:00:09 +00:00
update feature/thirdselect/src/main/ets/default/view/ThirdSelectPhotoBrowserBase.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
e91a00916e
commit
f0ac55b305
@ -250,9 +250,8 @@ export struct ThirdSelectPhotoBrowserBase {
|
||||
}
|
||||
|
||||
getCurrentPhoto(): MediaItem {
|
||||
if(this.dataSource) {
|
||||
return this.dataSource.getData(this.currentIndex).data;
|
||||
}
|
||||
Log.debug(TAG, 'getCurrentPhoto ' + this.currentIndex);
|
||||
return this.dataSource.getData(this.currentIndex)?.data;
|
||||
}
|
||||
|
||||
onBackPress() {
|
||||
|
Loading…
Reference in New Issue
Block a user