chenmy 3 years ago
parent
commit
c6ec80447e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      TEAMModelBI/Controllers/LoginController.cs

+ 1 - 1
TEAMModelBI/Controllers/LoginController.cs

@@ -469,7 +469,7 @@ namespace TEAMModelBI.Controllers
                     {
                         ddUserInfos = item;
                     }
-                    if (ddUserInfos.tmdId != null)
+                    if (!string.IsNullOrEmpty(ddUserInfos.tmdId))
                     {
                         List<string> roles = new();//角色列表
                         List<string> permissions = new List<string>();//权限列表