更新视图:增加Index/About视图内容

This commit is contained in:
Argo-Surface 2019-02-23 12:44:20 +08:00
parent bfd0177048
commit b3cd185354
3 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace Bootstrap.Client.Controllers
/// <returns></returns>
public IActionResult About()
{
return View("Index", new NavigatorBarModel(this));
return View(new NavigatorBarModel(this));
}
/// <summary>
///

View File

@ -0,0 +1,4 @@
@{
ViewData["Title"] = "测试网页";
}
<p>测试网页</p>

View File

@ -1,3 +1,4 @@
@{
ViewData["Title"] = "Home Page";
}
<p>这是测试系统首页,欢迎测试使用</p>