mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 19:34:45 +08:00
全面实现模块中按钮动态生成,为下一步使用权限控制按钮做准备;
请使用全新的脚本初始化数据库!
This commit is contained in:
@@ -34,5 +34,16 @@ namespace OpenAuth.Mvc.Controllers
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 所有页面按钮控制分部视图
|
||||
/// </summary>
|
||||
/// <returns>ActionResult.</returns>
|
||||
[ChildActionOnly]
|
||||
public ActionResult MenuHeader()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user