uniapp隐藏顶部左侧按钮 在mounted生命周期钩子中将元素隐藏 //隐藏顶部左边按钮 mounted(){ var a = document.getElementsByClassName('uni-page-head-hd')[0] a.style.display = 'none'; }