【角色信息】修复跳转到角色信息界面,点击左右箭头报错
parent
e61dea0f4a
commit
b21e7efe0d
|
@ -315,7 +315,7 @@ end
|
|||
--右切换按钮点击
|
||||
function this:RightBtnOnClick()
|
||||
-- 英雄长按升级时不再进行切换操作
|
||||
if this.PageList[1].isPressed then
|
||||
if this.PageList[1] and this.PageList[1].isPressed then
|
||||
return
|
||||
end
|
||||
if isClickLeftOrRightBtn == false then
|
||||
|
@ -357,7 +357,7 @@ end
|
|||
--左切换按钮点击
|
||||
function this:LeftBtnOnClick()
|
||||
-- 英雄长按升级时不再进行切换操作
|
||||
if this.PageList[1].isPressed then
|
||||
if this.PageList[1] and this.PageList[1].isPressed then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue