决策报表初始化事件中一下js不会被执行,但是在点击事件中能被执行 var a = this.options.form.getWidgetByName('button0'); $('div[class="fr-titlelayout ui-state-enabled"]').mouseover(function() { a.setVisible(true); }) $('div[class="fr-titlelayout ui-state-enabled"]').mouseleave(function() { a.setVisible(false); }) |