From b21e7efe0d49f78858701feb66fc036d99c81522 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Sun, 26 Sep 2021 17:38:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A7=92=E8=89=B2=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=91=E4=BF=AE=E5=A4=8D=E8=B7=B3=E8=BD=AC=E5=88=B0=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E4=BF=A1=E6=81=AF=E7=95=8C=E9=9D=A2=EF=BC=8C=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=B7=A6=E5=8F=B3=E7=AE=AD=E5=A4=B4=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua index 151a41facf..60657ac82a 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua @@ -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