diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleProInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleProInfoPopup.lua index 96fae77431..50d9d31abd 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleProInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleProInfoPopup.lua @@ -79,6 +79,7 @@ function RoleProInfoPopup:InitComponent() -- 公会数据节点 this.guildPre = newObjToParent(this.proPre2, this.thirdlyGrid) this.jumpBtn = Util.GetGameObject(this.guildPre, "jumpBtn") + this.jumpBtn:SetActive(false) this.guildProName = Util.GetGameObject(this.guildPre, "proName"):GetComponent("Text") this.guildProValue = Util.GetGameObject(this.guildPre, "proVale"):GetComponent("Text") @@ -129,7 +130,7 @@ function RoleProInfoPopup:OnOpen(_allAddProVal,_configData,_isShowGuild,_guildSk this.guildProName.text = Language[11061]..GuildSkillType[_configData.Profession] this.guildProValue.text = allLv -- 跳转按钮如果设置的公会技能等级,说明是别人,就不显示跳转 - this.jumpBtn:SetActive(_guildSkill == nil) + this.jumpBtn:SetActive(false) end if not this.specialPro then