求助
试试这个,在服务器控件设置
据用户控制按钮显示隐藏
var th=this;
setTimeout(function() {
if(a=='admin'){th.setVisible(true);}
else{th.setVisible(false);}
}, 800);