router-link添加点击事件

<router-link @click.native="doSomething" to="/a" ></router-link>router 这样既能够跳转,点击事件也能够执行,作tab切换的时候能够用事件
相关文章
相关标签/搜索