更新视图:增加Index/About视图内容
This commit is contained in:
parent
bfd0177048
commit
b3cd185354
|
@ -27,7 +27,7 @@ namespace Bootstrap.Client.Controllers
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public IActionResult About()
|
public IActionResult About()
|
||||||
{
|
{
|
||||||
return View("Index", new NavigatorBarModel(this));
|
return View(new NavigatorBarModel(this));
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
@{
|
||||||
|
ViewData["Title"] = "测试网页";
|
||||||
|
}
|
||||||
|
<p>测试网页</p>
|
|
@ -1,3 +1,4 @@
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Home Page";
|
ViewData["Title"] = "Home Page";
|
||||||
}
|
}
|
||||||
|
<p>这是测试系统首页,欢迎测试使用</p>
|
Loading…
Reference in New Issue