|
@@ -261,7 +261,7 @@ export default {
|
|
|
Object.keys(countByName).forEach((key) => {
|
|
|
edata.push({name:key,value:this.compute(countByName[key])})
|
|
|
});
|
|
|
- console.log(index,edata,'--a-a--')
|
|
|
+ edata.sort((a, b) => b.value - a.value);
|
|
|
// }
|
|
|
this.setEchart(edata,'vertical',index)
|
|
|
|