森罗编队提交
parent
6158c5be1e
commit
3f414f3d83
|
|
@ -67,6 +67,7 @@ function FormationEditPopup:BindEvent()
|
|||
for i, v in ipairs(choosedList) do
|
||||
table.insert(dids,v.did)
|
||||
end
|
||||
if #choosedList <= maxNum and #choosedList > 0 then
|
||||
NetManager.TrialHeroInfoSaveRequest(dids,function()
|
||||
PopupTipPanel.ShowTip(Language[10669])
|
||||
if func~=nil then --保存完毕后 将英雄did合集传递过去 此时我拥有这些英雄 不用担心英雄已被删除
|
||||
|
|
@ -74,9 +75,12 @@ function FormationEditPopup:BindEvent()
|
|||
end
|
||||
self:ClosePanel()
|
||||
end)
|
||||
else
|
||||
PopupTipPanel.ShowTip("编队不能为空")
|
||||
end
|
||||
end
|
||||
|
||||
if #choosedList<maxNum then
|
||||
if #choosedList < maxNum and #choosedList > 0 then
|
||||
MsgPanel.ShowTwo(Language[10670], nil, function()
|
||||
go()
|
||||
end)
|
||||
|
|
|
|||
Loading…
Reference in New Issue