Browse Source

bugfix:从插件管理里面登录,用户名显示不了

master
李攀 8 years ago
parent
commit
aeb14505de
  1. 4
      designer_base/src/com/fr/design/extra/LoginWebBridge.java

4
designer_base/src/com/fr/design/extra/LoginWebBridge.java

@ -254,7 +254,7 @@ public class LoginWebBridge {
String loginResult = login(username, password);
if (loginResult.equals(LOGININ)) {
updateUserInfo(username, password);
loginSuccess(username);
loginSuccess(username, uiLabel);
setUserName(username, uiLabel);
}
return loginResult;
@ -287,7 +287,7 @@ public class LoginWebBridge {
* 关闭窗口并且重新赋值
* @param username
*/
public void loginSuccess(String username) {
public void loginSuccess(String username, UILabel uiLabel) {
closeWindow();
uiLabel.setText(username);
}

Loading…
Cancel
Save