router-link的a样式变成div样式元素属性 <router-link tag="div" :to="itemChild.path"><span>{{itemChild.name}}</span></router-link> 主要用tag="div" 效果: