refactor: 移除@Url.Content方法

#Comment
comment 对原生 ~/Home/Index 路径无需使用Url.Content
This commit is contained in:
Argo Zhang 2019-08-18 15:57:37 +08:00
parent 6972250641
commit 2d0a83a8b6
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
3 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@
</div> </div>
<nav aria-label="breadcrumb"> <nav aria-label="breadcrumb">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="@Url.Content("~/Admin/Index")"><i class="fa fa-home"></i>首页</a></li> <li class="breadcrumb-item"><a href="~/Admin/Index"><i class="fa fa-home"></i>首页</a></li>
<li class="breadcrumb-item d-none" id="breadNav"></li> <li class="breadcrumb-item d-none" id="breadNav"></li>
</ol> </ol>
</nav> </nav>

View File

@ -39,7 +39,7 @@
<section id="main-content" class="main-content @Model.ShowCardTitle"> <section id="main-content" class="main-content @Model.ShowCardTitle">
<div class="main-header"> <div class="main-header">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="@Url.Content("~/Admin/Index")"><i class="fa fa-home"></i>首页</a></li> <li class="breadcrumb-item"><a href="~/Admin/Index"><i class="fa fa-home"></i>首页</a></li>
<li class="breadcrumb-item d-none"></li> <li class="breadcrumb-item d-none"></li>
</ol> </ol>
</div> </div>

View File

@ -46,7 +46,7 @@
<section class="container-fluid"> <section class="container-fluid">
<div class="main-header"> <div class="main-header">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li class="breadcrumb-item"><a href="@Url.Content("~/Admin/Index")"><i class="fa fa-home"></i>首页</a></li> <li class="breadcrumb-item"><a href="~/Home/Index"><i class="fa fa-home"></i>首页</a></li>
<li class="breadcrumb-item d-none"></li> <li class="breadcrumb-item d-none"></li>
</ol> </ol>
</div> </div>