change-登录优化

main
liuwf 10 months ago
parent ce02c0e4b3
commit 6af820e6d9

@ -456,6 +456,7 @@ namespace Aucma.Core.SheetMetal.ViewModels
{ {
System.Windows.Application.Current.Dispatcher.Invoke((Action)(() => System.Windows.Application.Current.Dispatcher.Invoke((Action)(() =>
{ {
TeamName = $"班组:{appConfig.TeamName} 用户:{appConfig.Account}";
CurrentDateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); CurrentDateTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
})); }));

@ -62,7 +62,8 @@ namespace Aucma.Core.SheetMetal.Views
return; return;
} }
// 登录校验 // 登录校验
txtUserName.Text = "";
txtPassword.Password = "";
loginViewModel.Login(teamMembers,userName, passWord,this); loginViewModel.Login(teamMembers,userName, passWord,this);
} }

Loading…
Cancel
Save