From 1cfd153587907246a68f356a8464c15fb567bb98 Mon Sep 17 00:00:00 2001 From: hdw Date: Wed, 4 Jun 2025 10:28:38 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=BA=9F?= =?UTF-8?q?=E5=BC=83api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/longList/src/main/ets/view/WaterFlowLivingView.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/longList/src/main/ets/view/WaterFlowLivingView.ets b/features/longList/src/main/ets/view/WaterFlowLivingView.ets index c8877ff..c7bbb91 100644 --- a/features/longList/src/main/ets/view/WaterFlowLivingView.ets +++ b/features/longList/src/main/ets/view/WaterFlowLivingView.ets @@ -91,7 +91,7 @@ export struct WaterFlowLivingView { }) .onAppear(() => { let videoPos = - componentUtils.getRectangleById(CommonConstants.WATER_FLOW_LIVING_STRUCT_ID + this.itemIndex); + this.getUIContext().getComponentUtils().getRectangleById(CommonConstants.WATER_FLOW_LIVING_STRUCT_ID + this.itemIndex); if (this.getUIContext().px2vp(videoPos.windowOffset.y) + this.getUIContext().px2vp(videoPos.size.height) < this.windowsHeight) { setTimeout(() => { -- Gitee