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