formatter:function (params) { if(params.value==0){ //为0时不显示 return '' }else{ return params.value } }