diff --git a/src/components/EchartBar.vue b/src/components/EchartBar.vue index 218f29ac1b8e159e3e7a3226a1cddd7278d3d429..aa6e8d09be9c6f1a6718e786935d2b40ee126a7a 100644 --- a/src/components/EchartBar.vue +++ b/src/components/EchartBar.vue @@ -57,7 +57,9 @@ function renderEchartBar() { type: 'shadow' } }, - legend: {}, + legend: { + + }, xAxis: { type: 'category', data: state.dataSource.map(item => item.postTime)