handler : function() { var countType=Ext.get('countType').dom.value; if (countType == 'xxxx') { Ext.getCmp('workload_count-TabPanel').layout .setActiveItem(personWorkloadpanel); // store.removeAll();//这里加了程序就不往下执行了 store.load({ params : { countType : 'personWorkloadCount', startTime : Ext.get('stimeb').dom.value, endTime : Ext.get('stimee').dom.value }, callback : function(r, options, success) { chart.setHeight(store.getTotalCount()* 30); } }); } else { Ext.getCmp('workload_count-TabPanel').layout .setActiveItem('otherPanel'); } }
ext 不能加store.removeall
最新推荐文章于 2024-06-19 15:58:07 发布
