【易经宝库】最终奖励选择bug修复

(cherry picked from commit c4745e8c7c)
ZhangBiao 2020-11-09 13:47:37 +08:00
parent 82dc9fac73
commit 181fe789a4
2 changed files with 2 additions and 1 deletions

View File

@ -120,6 +120,7 @@ function YiJingBaoKu:Refresh()
YiJingBaoKu:AddBackToFrontClick()--增加背面的带点击事件
trigger = true
this.refrashBtn:SetActive(ActData.selectId ~= 0)
this.addBtn:GetComponent("Button").enabled = ActData.selectId == 0
this.name.text = ""..NumToSimplenessFont[ActData.curLevel]..""
end

View File

@ -29,7 +29,7 @@ end
function this:BindEvent()
Util.AddClick(this.ConfirmBtn,function()
if curId then
if curId and curId ~= 0 then
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.YiJingBaoKuConfirm,curId,function()
NetManager.SelectFinalRewardRequest(curId,ActData.activityId,function ()
if func then