请问导航点击跳转后,选中状态怎么处理?子栏目如何判断
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-toggle="dropdown">
技能竞赛
</a>
<div class="dropdown-menu mt-0">
<a class="dropdown-item" href="zyds_index.html">全国职业院校</a>
<a class="dropdown-item" href="zzgs_index.html">省市级赛项</a>
<a class="dropdown-item" href="gzgs_index.html">行业赛</a>
</div>
</li>