修改bug
This commit is contained in:
1 parent
2d36d5df39
commit
0517382612
12 files changed
+32
-55
No files matched your search
@@ -778,15 +778,8 @@ public class LoginController : MonoBehaviour
|
||||
}
|
||||
void RefreshWx3(UserResultModel data,int type)
|
||||
{
|
||||
if (string.IsNullOrEmpty(data.WxHeadImg))
|
||||
{
|
||||
wxLogin3.Find("Avatar").GetComponent<RawImage>().texture = Resources.Load<Texture>("Images/icon-1024");
|
||||
}
|
||||
else
|
||||
{
|
||||
Utils.DisplayImage(wxLogin3.Find("Avatar").GetComponent<RawImage>(),
|
||||
Utils.DisplayHead(wxLogin3.Find("Avatar").GetComponent<RawImage>(),
|
||||
data.WxHeadImg);
|
||||
}
|
||||
wxLogin3.Find("Wx").gameObject.SetActive(type == 1);
|
||||
wxLogin3.Find("NickName").GetComponent<Text>().text = data.Nickname;
|
||||
userResult = data;
|
||||
|
||||
Reference in new issue
Block a user