调用下面就可以实现,简单吧
hideTabs() {
this.$nextTick(function () {
this.$refs.tabs.$children[0].$refs.tabs[1].style.display = 'none';
});
}
调用下面就可以实现,简单吧
hideTabs() {
this.$nextTick(function () {
this.$refs.tabs.$children[0].$refs.tabs[1].style.display = 'none';
});
}