[英]i have bootstrap Sidebar menu in my admin panel, when i click and fetch a link then two items are active , like in picture, why?
Check the li tag to see if the tag contains active option in distributor's package page.
检查li标签以查看该标签是否在分销商的包装页中包含有效选项。 You need active on current page only & not on distrubutor's page when you are on dp page
在dp页面上时,您仅需要在当前页面上活动,而在distrubutor的页面上则不需要
Adding more to that answer, 为该答案添加更多内容,
<ul class="nav">
<li class="nav-item">
<a class="nav-link active" href="#">Active</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
</ul>
Keeping a list item 'active' would mean, that item would be always selected. 保持列表项为“活动”将意味着该项将始终处于选中状态。 Check the list item class for this.
为此,请检查列表项类。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.