update RouterVo.cs

This commit is contained in:
不做码农 2022-05-07 13:37:36 +08:00
parent e34959c87a
commit 44d8cd01eb

View File

@ -17,7 +17,6 @@ namespace ZR.Model.System.Vo
public bool Hidden { get; set; } public bool Hidden { get; set; }
public string Name { get; set; } public string Name { get; set; }
public string Path { get; set; } public string Path { get; set; }
//[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string Redirect { get; set; } public string Redirect { get; set; }
public Meta Meta { get; set; } public Meta Meta { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)] [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
@ -52,7 +51,7 @@ namespace ZR.Model.System.Vo
Title = title; Title = title;
Icon = icon; Icon = icon;
NoCache = noCache; NoCache = noCache;
TitleKey = string.IsNullOrEmpty(titleKey) ? title : titleKey; TitleKey = titleKey;
} }
} }
} }