From 1b610b9e720fb454f55024d84cfe50b37506f225 Mon Sep 17 00:00:00 2001 From: Fang Date: Wed, 6 Sep 2023 16:53:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BC=E5=8C=85=E7=BA=A2=E7=82=B9=E5=88=B7?= =?UTF-8?q?=E6=96=B0fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/activity/fourteen_day/fourteen_day_entrance_ui.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/app/ui/activity/fourteen_day/fourteen_day_entrance_ui.lua b/lua/app/ui/activity/fourteen_day/fourteen_day_entrance_ui.lua index 4e7004f3..f2d5e1d7 100644 --- a/lua/app/ui/activity/fourteen_day/fourteen_day_entrance_ui.lua +++ b/lua/app/ui/activity/fourteen_day/fourteen_day_entrance_ui.lua @@ -92,6 +92,9 @@ function FourteenDayEntranceUI:onLoadRootComplete() self:bind(DataManager.FourteenDayData, "isDirty", function() self:onRefresh() end) + self:bind(DataManager.ShopData, "isDirty", function() + self:refreshRedPoint() + end) end function FourteenDayEntranceUI:onRefresh()