【道具自选箱】选择的数量为0直接关闭调整
parent
0937827967
commit
f9f31f5a44
|
|
@ -208,6 +208,10 @@ end
|
|||
function RewardBoxPanel:OnBtnSureClick()
|
||||
if curId then
|
||||
local data = {itemData.id,curId,curNum}
|
||||
if curNum <= 0 then
|
||||
PopupTipPanel.ShowTip(Language[10201])
|
||||
return
|
||||
end
|
||||
NetManager.UseAndPriceItemRequest(6,data,function (drop)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,drop,1,function()
|
||||
-- self:RefreshData()--执行这个Unity会崩溃
|
||||
|
|
|
|||
Loading…
Reference in New Issue