commenly commit
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ namespace Interact
|
|||||||
//发起登录完成事件
|
//发起登录完成事件
|
||||||
if (head.Error != "")
|
if (head.Error != "")
|
||||||
OnLoginDone?.Invoke(head, null);
|
OnLoginDone?.Invoke(head, null);
|
||||||
JObject dataObj = (JObject)JsonConvert.SerializeObject(data);
|
JObject dataObj = (JObject)JsonConvert.DeserializeObject(Encoding.UTF8.GetString(data));
|
||||||
User user = new User
|
User user = new User
|
||||||
{
|
{
|
||||||
Name = dataObj[AttrNames.User].ToString(),
|
Name = dataObj[AttrNames.User].ToString(),
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ namespace StormChat
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
btnLogin.Enabled = false;
|
btnLogin.Enabled = false;
|
||||||
StormClient.RequestLogin(txtUser.Text, txtPassword.Text);
|
StormClient.QueueLogin(txtUser.Text, txtPassword.Text);
|
||||||
}
|
}
|
||||||
|
|
||||||
//登录结果处理
|
//登录结果处理
|
||||||
|
|||||||
Reference in New Issue
Block a user