feat:菜单新增内链打开外网方式

This commit is contained in:
不做码农
2022-06-19 11:38:32 +08:00
parent ee64e90a87
commit 295366b0f6
3 changed files with 50 additions and 16 deletions

View File

@@ -39,19 +39,32 @@ namespace ZR.Model.System.Vo
/// </summary>
public bool NoCache { get; set; }
public string TitleKey { get; set; } = string.Empty;
public string Link { get; set; } = string.Empty;
public Meta(string title, string icon)
{
Title = title;
Icon = icon;
}
public Meta(string title, string icon, string path)
{
Title = title;
Icon = icon;
Link = path;
}
public Meta(string title, string icon, bool noCache)
{
Title = title;
Icon = icon;
NoCache = noCache;
}
public Meta(string title, string icon, bool noCache, string titleKey)
public Meta(string title, string icon, bool noCache, string titleKey, string path)
{
Title = title;
Icon = icon;
NoCache = noCache;
TitleKey = titleKey;
Link = path;
}
}
}