diff --git a/Bootstrap.Client/Controllers/HomeController.cs b/Bootstrap.Client/Controllers/HomeController.cs index 855816e5..f27df6f8 100644 --- a/Bootstrap.Client/Controllers/HomeController.cs +++ b/Bootstrap.Client/Controllers/HomeController.cs @@ -27,7 +27,7 @@ namespace Bootstrap.Client.Controllers /// public IActionResult About() { - return View("Index", new NavigatorBarModel(this)); + return View(new NavigatorBarModel(this)); } /// /// diff --git a/Bootstrap.Client/Views/Home/About.cshtml b/Bootstrap.Client/Views/Home/About.cshtml new file mode 100644 index 00000000..2711273b --- /dev/null +++ b/Bootstrap.Client/Views/Home/About.cshtml @@ -0,0 +1,4 @@ +@{ + ViewData["Title"] = "测试网页"; +} +

测试网页

\ No newline at end of file diff --git a/Bootstrap.Client/Views/Home/Index.cshtml b/Bootstrap.Client/Views/Home/Index.cshtml index c9e8ea9b..036b29a1 100644 --- a/Bootstrap.Client/Views/Home/Index.cshtml +++ b/Bootstrap.Client/Views/Home/Index.cshtml @@ -1,3 +1,4 @@ @{ ViewData["Title"] = "Home Page"; } +

这是测试系统首页,欢迎测试使用

\ No newline at end of file