src/components/Echarts/BarChart.vue
@@ -3,7 +3,7 @@ </template> <script> import echarts from 'echarts' import * as echarts from 'echarts' // require('echarts/theme/macarons') // echarts theme // import resize from './mixins/resize' @@ -40,11 +40,9 @@ }, watch: { datas(n) { this.initChart() }, datas1(n) { this.initChart() } },