parent
7722ede726
commit
083d33b237
|
@ -116,13 +116,13 @@ function BagResolveAnCompoundPanel:BindEvent()
|
|||
this.ShowCompoundNumData(compoundNum)
|
||||
end
|
||||
else
|
||||
if endHeroNum > 0 then
|
||||
if compoundNum > 0 then
|
||||
if compoundNum<compoundMaxNum then
|
||||
compoundNum=compoundNum+1
|
||||
this.ShowCompoundNumData(compoundNum)
|
||||
end
|
||||
else
|
||||
PopupTipPanel.ShowTip(Language[12157])
|
||||
PopupTipPanel.ShowTip("已达上限")
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
@ -329,7 +329,7 @@ function this.OnShowLayout3Data()
|
|||
compoundNum= compoundNum>=compoundMaxNum and compoundMaxNum or compoundNum
|
||||
if compoundMaxNum > 0 then
|
||||
this.Slider:GetComponent("Slider").value=1
|
||||
this.Slider:GetComponent("Slider").minValue=0
|
||||
this.Slider:GetComponent("Slider").minValue=1
|
||||
else
|
||||
this.Slider:GetComponent("Slider").value=0
|
||||
this.Slider:GetComponent("Slider").minValue=0
|
||||
|
|
Loading…
Reference in New Issue