1
林建设动态菜单在我的MVC的项目,所以在我的控制器我有以下几点:ASPNET MVC渲染服务器端@ Html.ActionLink
// list accounts
menu.Add(new Model.Custom.Menu() { Active = true, Url = "dashboard.html", Icon = "mdi mdi-account-card-details", Items = null, Text = "List Accounts" });
眼下dashboard.html
链接是硬编码的,但要@Html.ActionLink
,所以我需要它呈现正确的道路。
任何线索?
'Url = Url.Action(...) – haim770