【装备出售】装备出售数量可以无限叠加和叠减,修改
parent
5a9ba48166
commit
48e05b927d
|
|
@ -79,10 +79,18 @@ function this:BindEvent()
|
|||
end
|
||||
end)
|
||||
Util.AddClick(this.addBtn,function()
|
||||
this:SetCount(count + 1)
|
||||
if count < selectEquipTreasureData.num then
|
||||
this:SetCount(count + 1)
|
||||
else
|
||||
PopupTipPanel.ShowTip("已到达最大数量!")
|
||||
end
|
||||
end)
|
||||
Util.AddClick(this.reduceBtn,function()
|
||||
this:SetCount(count - 1)
|
||||
if count > 1 then
|
||||
this:SetCount(count - 1)
|
||||
else
|
||||
PopupTipPanel.ShowTip("已到达最小数量!")
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue