refactor: 移除@Url.Content方法
#Comment comment 对原生 ~/Home/Index 路径无需使用Url.Content
This commit is contained in:
parent
6972250641
commit
2d0a83a8b6
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue