Advertisement

element-ui展示/隐藏tab标签

阅读量:
基本信息

基本信息

基本信息

mounted() {

//tab标签的权限控制
this.$nextTick(() => {

//首先把所有的都隐藏
this.refs.tabs.children[0].refs.tabs[0].style.display = 'none'; this.refs.tabs.children[0].refs.tabs[1].style.display = 'none';
this.refs.tabs.children[0].$refs.tabs[2].style.display = 'none';

if(thi

全部评论 (0)

还没有任何评论哟~