mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-27 09:12:32 +00:00
update common/src/main/ets/default/view/PhotoSwiper.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
7240d6e557
commit
0c929bfd07
@ -138,7 +138,7 @@ export struct PhotoSwiper {
|
||||
if (item == null || item == undefined) {
|
||||
return JSON.stringify(item) + index;
|
||||
}
|
||||
return `${item.data.uri}_${item.data.size}_${item.data.orientation}_${index}`;
|
||||
return `${item.data.path}_${item.data.size}_${item.data.orientation}_${index}`;
|
||||
})
|
||||
}
|
||||
.cachedCount(this.SWIPE_CACHE_COUNT)
|
||||
|
Loading…
Reference in New Issue
Block a user