this.$nextTick(() => {
this.$refs.tabs2.$children[0].$refs.tabs[0].style.display = 'none';
this.$refs.tabs2.$children[0].$refs.tabs[1].style.display = 'none';
})
element el-tab不展示
最新推荐文章于 2023-04-16 14:02:23 发布
本文介绍了一种使用Vue框架的方法,通过$nextTick及refs属性来隐藏指定的Tab组件。具体实现涉及对组件DOM元素的直接操作。

3000

被折叠的 条评论
为什么被折叠?



