feat: 移除内部导航当前页面标识
This commit is contained in:
parent
bf3906df03
commit
5bb9cc25b5
|
@ -40,17 +40,10 @@
|
|||
@await Html.PartialAsync("Navigator")
|
||||
<section id="main-content" class="main-content">
|
||||
<div class="main-header">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<span class="text-dark"></span>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<ol class="breadcrumb justify-content-sm-end">
|
||||
<li class="breadcrumb-item"><a href="@Url.Content("~/Admin/Index")"><i class="fa fa-home"></i>首页</a></li>
|
||||
<li class="breadcrumb-item d-none"></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
<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 d-none"></li>
|
||||
</ol>
|
||||
</div>
|
||||
@RenderBody()
|
||||
</section>
|
||||
|
|
|
@ -146,7 +146,7 @@ $(function () {
|
|||
});
|
||||
|
||||
// breadcrumb
|
||||
var $breadNav = $('#breadNav, .main-header .breadcrumb-item:last, .main-header .text-dark');
|
||||
var $breadNav = $('#breadNav, .main-header .breadcrumb-item:last');
|
||||
var arch = $sideMenu.find('a.active').last();
|
||||
$breadNav.removeClass('d-none').text(arch.text() || $('title').text());
|
||||
|
||||
|
|
Loading…
Reference in New Issue