Parcourir la source

Merge branch 'develop' of http://132.232.92.186:3000/XinXiBu/OA2023 into develop

Lyyyi il y a 1 semaine
Parent
commit
e69ffd2e1b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 1 - 1
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -5553,7 +5553,7 @@ FROM
                         Remark = item.Remark,
                         STid = item.STid,
                     },
-                    Child = JsonConvert.DeserializeObject<List<string>>(item.Remark)
+                    Child = JsonConvert.DeserializeObject<List<string>>(item.Remark) ?? new List<string>()
                 });
             }