Pārlūkot izejas kodu

匹配刷卡机

KWD 3 mēneši atpakaļ
vecāks
revīzija
af54e7016a

+ 6 - 6
TeamAAS-VM/ViewModels/User/CardLoginWindowViewModel.cs

@@ -237,12 +237,12 @@ namespace TeamAAS_VP.ViewModels.User
 
                 await _systemDatabaseService.SetCurrentUserAsync(user);
 
-                App.Current.Dispatcher.Invoke(() =>
-                {
-                    user.UserPassword = string.Empty;
-                    _eventAggregator.GetEvent<UserLoginNotification>().Publish(_systemDatabaseService.GetCurrentUser());
-                    View.DialogResult = true;
-                });
+                //App.Current.Dispatcher.Invoke(() =>
+                //{
+                //    user.UserPassword = string.Empty;
+                //    _eventAggregator.GetEvent<UserLoginNotification>().Publish(_systemDatabaseService.GetCurrentUser());
+                //    View.DialogResult = true;
+                //});
 
             }
         }