【线上】【鸿蒙阵】共鸣装备无法卸下,弹服务器开小差

dev_chengFeng
zhangqiang 2021-06-10 18:37:16 +08:00
parent 5d57464da8
commit 23f90ccf52
1 changed files with 6 additions and 1 deletions

View File

@ -89,6 +89,7 @@ function RoleEquipChangePopup:BindEvent()
openThisPanel.UpdateEquipPosHeroData(1,type,equipDataList,0,position)
end)
else
NetManager.EquipUnLoadOptRequest(curHeroData.dynamicId,equipIdList ,1, function ()
self:ClosePanel()
openThisPanel.UpdateEquipPosHeroData(1,type,equipDataList)
@ -151,8 +152,12 @@ function RoleEquipChangePopup:OnShow()
this.equipPanel[2].bg:SetActive(false)
this.equipPanel[1].bg:SetActive(true)
this.equipPanel[1].curEquipText:SetActive(false)
this.equipPanel[1].curEquipBtnDown:SetActive(true)
this.equipPanel[1].curEquipBtnDownText.text = Language[12221]
if HarmonyManager:IsShowGongMingEqiup(curHeroData.dynamicId) and curHeroData.harmonyGongMing then
this.equipPanel[1].curEquipBtnDown:SetActive(false)
else
this.equipPanel[1].curEquipBtnDown:SetActive(true)
end
this.ShowCurEquipData(1)
elseif type==3 then
this.equipPanel[2].bg:SetActive(true)