【ID1017258】

【碎片合成】碎片仅够合成一个神将时,合成后不自动关闭道具详情界面

(cherry picked from commit 7371405fbd)
dev_chengFeng
jiaoyangna 2021-07-12 11:13:12 +08:00
parent 39b9488286
commit 763c45ebd0
1 changed files with 9 additions and 4 deletions

View File

@ -80,14 +80,11 @@ function RewardItemSingleShowPopup:BindEvent()
item.itemNum=compoundNum*_itemData.itemConfig.UsePerCount
if endHeroNum > 0 then
NetManager.HeroComposeRequest(item,function (drop)
self:ClosePanel()
UIManager.OpenPanel(UIName.RewardItemPopup,drop,1,function ()
end,nil,nil,nil,true)
this.SendBackCompoundReCallBack(drop)
end)
if compoundNum<=0 then
PopupTipPanel.ShowTip(Language[10183])
end
else
PopupTipPanel.ShowTip(Language[12157])
end
@ -226,11 +223,19 @@ end
local callBackFun
function this.SendBackCompoundReCallBack(drop)
--this:ClosePanel()
UIManager.OpenPanel(UIName.RewardItemPopup,drop,1,function ()
--UIManager.OpenPanel(UIName.BagPanel)
-- if callBackFun then
-- callBackFun()
func()
-- end
end,nil,nil,nil,true)
--改为后端刷新了
--BagManager.UpdateItemsNum(itemData.id,compoundNum*itemData.itemConfig.UsePerCount)
end
--扣除解锁蓝图材料 并数据
function this.DeleteActiveLanTuData()
PopupTipPanel.ShowTip(Language[11515] .. GetLanguageStrById(itemConfigData.Name))