From 6dbb9aca5d9cbcdc87dc0c1e05ecec88c2f253ba Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Fri, 28 Jul 2023 14:21:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=84=BF=E7=AB=A5=E5=8D=8F=E8=AE=AE=EF=BC=8C?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E7=89=B9=E6=AE=8A=E6=98=BE=E7=A4=BA=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Login/LoginPanel.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua index 3f687913db..e208334186 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua @@ -452,7 +452,7 @@ function this.RequestProtos(userId) Log("用户和隐私协议功能未开启") return end - + local chanel= SDKMgr:GetChannel() local ChannelID = LoginRoot_UserChannel == "" and LoginRoot_Channel or LoginRoot_UserChannel local PackageID = PackageManager.GetPackageID() if PackageID then @@ -477,7 +477,12 @@ function this.RequestProtos(userId) end if UrlList[1] ~= "" and UrlList[2] ~="" then this.protos:SetActive(true) - this.newproto:SetActive(false) + if chanel=="YGDC" or chanel=="XQDC" then + this.newproto:SetActive(true) + else + this.newproto:SetActive(false) + end + HaveConfirm = true else this.protos:SetActive(false)