diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua index 34da3deffc..e3c449c358 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua @@ -79,19 +79,16 @@ function RewardGemSingleShowPopup:BindEvent() end) Util.AddClick(this.btnJump, function()--合成 if this.openType == 2 then--命格界面中 - UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.GemCompound,itemSid,this.position,function () - self:ClosePanel() - end) + UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.GemCompound,itemSid,this.position) + self:ClosePanel() elseif this.openType == 1 then--背包中 local num = BagManager.GetTotalItemNum(itemSid) if num/gemConfig[itemSid].UpgradeNum >= 2 then - UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.GemMoreCom,itemSid,num,function () - self:ClosePanel() - end) + UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.GemMoreCom,itemSid,num) + self:ClosePanel() else - UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.GemCompound,itemSid,nil,function () - self:ClosePanel() - end) + UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.GemCompound,itemSid,nil) + self:ClosePanel() end end end)