Преглед изворни кода

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

Pen Li пре 7 година
родитељ
комит
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 ([user.lowercaseString isEqualToString:appDelegate.user.lowercaseString]) { // 当前用户
+            [self dismissViewControllerAnimated:YES completion:nil];
             return;
         }