From 316adf6fbd1e99e1aaa2021ecddf2cd90499e6e3 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Thu, 2 Sep 2021 22:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=99=BB=E5=BD=95=E3=80=91=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=99=BB=E5=BD=95=E5=A4=B1=E8=B4=A5=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=96=87=E5=AD=97=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Login/LoginManager.lua | 2 +- Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginManager.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginManager.lua index 7220567c1c..05db15a482 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginManager.lua @@ -66,7 +66,7 @@ function this.Initialize() else local errCode = result[2] if not errCode then - PopupTipPanel.ShowTip("登录失败") + MsgPanel.ShowOne("登录失败") elseif errCode == "101" then MsgPanel.ShowOne("根据国家防沉迷相关规定,我们将不再向未成年人提供服务,敬请谅解!") end diff --git a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua index 57a660d68f..7bc6d6f2db 100644 --- a/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Login/LoginPanel.lua @@ -828,7 +828,7 @@ function this.OnReceiveLogin(str) local json = require 'cjson' local data = json.decode(str) if data.errorCode and data.errorCode == -1 then - PopupTipPanel.ShowTip(data.reason or Language[11145]) + MsgPanel.ShowOne(data.reason or Language[11145]) return end if data.uid and data.token and not LoginManager.IsLogin then