Merge branch 'master' into lida_Dev
This commit is contained in:
commit
ea424b197a
|
|
@ -49,7 +49,7 @@ public class UserViewModel
|
|||
FirstName = user.FirstName,
|
||||
LastName = user.LastName,
|
||||
Email = user.Email,
|
||||
Phone = user.Phone.Substring(0, 3) == "+86" ? user.Phone.Substring(3) : user.Phone,
|
||||
Phone = user.Phone?.Substring(0, 3) == "+86" ? user.Phone.Substring(3) : user.Phone,
|
||||
Type = user.Type,
|
||||
Role = user.Role,
|
||||
Source = user.Source,
|
||||
|
|
|
|||
Loading…
Reference in a new issue