add dashboard
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
methods: {
|
||||
initBar() {
|
||||
this.chart = echarts.init(document.getElementById(this.id));
|
||||
this.setOptions();
|
||||
},
|
||||
setOptions() {
|
||||
this.chart.setOption({
|
||||
|
@@ -46,6 +46,7 @@
|
||||
},
|
||||
mounted() {
|
||||
this.chart = echarts.init(document.getElementById(this.id));
|
||||
this.setLine(this.listData);
|
||||
},
|
||||
methods: {
|
||||
setLine(dataList) {
|
||||
|
Reference in New Issue
Block a user