From a0fa68be2a74b8aa222c7666bc7e120ad5277f88 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Fri, 26 May 2023 18:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=99=86=E7=95=8C=E9=9D=A2=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E5=84=BF=E7=AB=A5=E5=8D=8F=E8=AE=AE=EF=BC=8C=E4=B8=BB?= =?UTF-8?q?=E8=A7=92=E4=BF=A1=E6=81=AF=E5=8E=BB=E6=8E=89=E7=89=B9=E6=9D=83?= =?UTF-8?q?=E7=AD=89=E7=BA=A7=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua | 4 ++-- Assets/ManagedResources/~Lua/View/PlayerInfoView.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua index 9f24f28534..3f687913db 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua @@ -116,7 +116,7 @@ function this:InitComponent() this.ConfirmBtn = Util.GetGameObject(this.gameObject, "protos/Confirm") this.ConfirmImg = Util.GetGameObject(this.ConfirmBtn, "gou") this.protos:SetActive(IsUserProtoActive) - this.newproto:SetActive(IsUserProtoActive) + this.newproto:SetActive(false) end --绑定事件(用于子类重写) @@ -477,7 +477,7 @@ function this.RequestProtos(userId) end if UrlList[1] ~= "" and UrlList[2] ~="" then this.protos:SetActive(true) - this.newproto:SetActive(true) + this.newproto:SetActive(false) HaveConfirm = true else this.protos:SetActive(false) diff --git a/Assets/ManagedResources/~Lua/View/PlayerInfoView.lua b/Assets/ManagedResources/~Lua/View/PlayerInfoView.lua index 7e33ddbb62..bca1e4c6c2 100644 --- a/Assets/ManagedResources/~Lua/View/PlayerInfoView.lua +++ b/Assets/ManagedResources/~Lua/View/PlayerInfoView.lua @@ -148,7 +148,7 @@ end function PlayerInfoView:SetPrivilegeShow(isShow) self.vipPrivilegeBtn:SetActive(false) --self.btn_mingwang:SetActive(not not isShow) - self.btn_mingwang:SetActive(true) + self.btn_mingwang:SetActive(false) end return PlayerInfoView \ No newline at end of file