setTimeout(function(){
this.options.form.getWidgetByName('chart0').setVisible(true);
this.options.form.getWidgetByName('chart1').setVisible(false);
},5000);
this 放在延时和定时里会失效
var form = this.options.form; setTimeout(function(){ form.getWidgetByName('chart0').setVisible(true); form.getWidgetByName('chart1').setVisible(false); },5000);
#+++++++++++#