直接把项目中代码搬过来简单明了 <div class="tab-bottom borderTop-1px" ref="tabItem"> this.$refs.tabItem.style.display = 'flex'; 相关文章: 2022-01-19 2021-09-13 2022-12-23 2021-11-19 2021-11-19 2021-11-19 2022-12-23 2022-12-23