html中:
<a name="miao" > <b>{{ $v->department_name }}</b></a>
js跳转锚点:
window.onload=function(){ location.hash='miao'; }
html中:
<a name="miao" > <b>{{ $v->department_name }}</b></a>
js跳转锚点:
window.onload=function(){ location.hash='miao'; }
html中:
<a name="miao" > <b>{{ $v->department_name }}</b></a>
js跳转锚点:
window.onload=function(){ location.hash='miao'; }
来源:https://www.cnblogs.com/best-coder/p/11550177.html