From 5e985f7743de1e0480e0ed3b6d95ab41c0976ca6 Mon Sep 17 00:00:00 2001 From: Fang Date: Fri, 14 Jul 2023 16:12:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8B=B1=E9=9B=84=E4=BF=A1=E6=81=AF=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E9=87=91=E5=B8=81=E6=94=B9=E5=8F=98=E5=88=B7=E6=96=B0?= =?UTF-8?q?fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/hero/hero_detail_ui.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/app/ui/hero/hero_detail_ui.lua b/lua/app/ui/hero/hero_detail_ui.lua index f0e199ac..dbdc6c90 100644 --- a/lua/app/ui/hero/hero_detail_ui.lua +++ b/lua/app/ui/hero/hero_detail_ui.lua @@ -178,6 +178,9 @@ function HeroDetailUI:_bind() self:bind(self.heroEntity, "lv", function() self:_display(true) end) + self:bind(DataManager.BagData.ItemData:getItemById(GConst.ItemConst.ITEM_ID_GOLD), "isDirty", function() + self:_display() + end) end function HeroDetailUI:_initSpineObjs()