根据登录用户角色,隐藏参数栏按钮,不加延时就报错,加了延时就不隐藏if (a == '填报') {setTimeout(function() {this.options.form.getWidgetByName("buttom0").setVisible(false);},0)} else {setTimeout(function() {this.options.form.getWidgetByName("buttom0").setVisible(false);},0)}隐藏按钮_bak_07-12.zip