vue 获取标签元素的api

直接把项目中代码搬过来简单明了

<div class="tab-bottom borderTop-1px" ref="tabItem">

this.$refs.tabItem.style.display = 'flex';

 

posted @ 2017-04-19 11:49  星光璀璨的夜空  阅读(2261)  评论(0编辑  收藏  举报