vue-router的link样式设置问题

发现router-link添加上去后文字上会出现下划线,打开调试工具发现router-link其实是由a来实现的,在reset的时候

a {
    text-decoraction: none;
}

至于点击之后的样式则是router-link-active

.router-link-active {
    text-decoration: none;
}

 

转载于:https://www.cnblogs.com/kugeliu/p/6727675.html

你可能感兴趣的:(javascript)