Commit 4b7a224c authored by Unicorn369's avatar Unicorn369

fix

parent e5126aaf
...@@ -193,6 +193,8 @@ public class SelectServer : WindowServantSP ...@@ -193,6 +193,8 @@ public class SelectServer : WindowServantSP
} }
inputPsw.value = psw; inputPsw.value = psw;
*/ */
//确保密码为空时,退出后密码依旧保持为空
str = str.Substring(5, str.Length - 5);
inputPsw.value = str; inputPsw.value = str;
//inputVersion.value = version; //inputVersion.value = version;
} }
...@@ -296,7 +298,7 @@ public class SelectServer : WindowServantSP ...@@ -296,7 +298,7 @@ public class SelectServer : WindowServantSP
if (name != "") if (name != "")
{ {
//string fantasty = "(" + versionString + ")" + ipString + ":" + portString + " " + pswString; //string fantasty = "(" + versionString + ")" + ipString + ":" + portString + " " + pswString;
string fantasty = pswString; string fantasty = "psw: " + pswString;
list.items.Remove(fantasty); list.items.Remove(fantasty);
list.items.Insert(0, fantasty); list.items.Insert(0, fantasty);
list.value = fantasty; list.value = fantasty;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment