From 39f82836e01268562e8d99bfd055cd45a89b6d3f Mon Sep 17 00:00:00 2001 From: zhangbeibei Date: Fri, 7 Apr 2023 09:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=80=9A=E7=9F=A5=E5=B7=A6?= =?UTF-8?q?=E5=8F=B3=E6=BB=91=E5=8A=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../phone/dropdownpanel/src/main/ets/pages/notification.ets | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/product/phone/dropdownpanel/src/main/ets/pages/notification.ets b/product/phone/dropdownpanel/src/main/ets/pages/notification.ets index 1cb82e88..a30cb5d0 100644 --- a/product/phone/dropdownpanel/src/main/ets/pages/notification.ets +++ b/product/phone/dropdownpanel/src/main/ets/pages/notification.ets @@ -82,7 +82,7 @@ export default struct Notification { .alignSelf(ItemAlign.Center) .margin({ top: NO_NOTIFICATION_TOP_MARGIN }) } else { - NotificationListComponent({listIsEnd: this.isEnd}) + NotificationListComponent({listIsEnd:$isEnd}) } }.padding({ left: $r("sys.float.ohos_id_notification_margin_start"), @@ -123,7 +123,8 @@ export default struct Notification { if (this.moveY < -30 && this.isEnd) { if (this.touchMoveCallback) { this.touchMoveCallback({ 'direction': 'top', 'touchComponent': 'notification' }) - this.moveY = 0 + this.moveY = 0; + this.isEnd = false; } } } -- Gitee