Просмотр исходного кода

1.修改UWA用户切换失败。

Pen Li 7 лет назад
Родитель
Сommit
3cc40b9562
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      RedAnt ERP Mobile/common/Functions/sidemenu/UserListViewController.m

+ 1 - 0
RedAnt ERP Mobile/common/Functions/sidemenu/UserListViewController.m

@@ -106,6 +106,7 @@
     if(appDelegate.bLogin)
     if(appDelegate.bLogin)
     {
     {
         if ([user.lowercaseString isEqualToString:appDelegate.user.lowercaseString]) { // 当前用户
         if ([user.lowercaseString isEqualToString:appDelegate.user.lowercaseString]) { // 当前用户
+            [self dismissViewControllerAnimated:YES completion:nil];
             return;
             return;
         }
         }