From 0c929bfd072f964fcfa58c2d6ee6f6b1b2516af0 Mon Sep 17 00:00:00 2001 From: liujuan Date: Thu, 7 Mar 2024 07:35:01 +0000 Subject: [PATCH] update common/src/main/ets/default/view/PhotoSwiper.ets. Signed-off-by: liujuan --- common/src/main/ets/default/view/PhotoSwiper.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/ets/default/view/PhotoSwiper.ets b/common/src/main/ets/default/view/PhotoSwiper.ets index 80877b3e..0c40531d 100644 --- a/common/src/main/ets/default/view/PhotoSwiper.ets +++ b/common/src/main/ets/default/view/PhotoSwiper.ets @@ -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)