【自选宝箱修改】

dev_chengFeng
DESKTOP-98AVA47\Administrator 2021-01-14 14:44:01 +08:00
parent 03dc5fd16f
commit aef55964f0
1 changed files with 5 additions and 0 deletions

View File

@ -205,6 +205,11 @@ end
function RewardBoxPanel:OnBtnSureClick()
if curId then
local data = {itemData.id,curId,curNum}
if curId <= 0 then
-- body
PopupTipPanel.ShowTip(Language[11796])
return
end
if curNum <= 0 then
PopupTipPanel.ShowTip("宝箱开启数量不能为0")
return