From 4c0e0c19211fca34345b4d7852299a2bbfc269a5 Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Mon, 20 Oct 2025 20:52:38 +0800 Subject: [PATCH] fix bug --- lua/app/ui/summon/summon_reward_ui.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/app/ui/summon/summon_reward_ui.lua b/lua/app/ui/summon/summon_reward_ui.lua index c0f1be7f..24bddbe7 100755 --- a/lua/app/ui/summon/summon_reward_ui.lua +++ b/lua/app/ui/summon/summon_reward_ui.lua @@ -182,6 +182,9 @@ function SummonRewardUI:onRefresh() self:refreshSummonBtn() end self.tranBg:addClickListener(function() + if self.closeCallBack then + self:closeCallBack() + end self:closeUI() end) self.tranBg:setClickAnimation(false) @@ -215,10 +218,10 @@ function SummonRewardUI:onRefresh() self:refreshSummonBtn() end self.tranBg:addClickListener(function() - self:closeUI() if self.closeCallBack then self:closeCallBack() end + self:closeUI() end) self.tranBg:setClickAnimation(false) end)