直接把项目中代码搬过来简单明了
<div class="tab-bottom borderTop-1px" ref="tabItem"> this.$refs.tabItem.style.display = 'flex';