From a3bc1499023bfcca59d823aefae8c546e36e7a45 Mon Sep 17 00:00:00 2001 From: zhangchunxia <746626068@qq.com> Date: 星期一, 06 五月 2024 10:04:00 +0800 Subject: [PATCH] 大屏改版代码提交 --- src/components/echarts/echarsBar.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/echarts/echarsBar.vue b/src/components/echarts/echarsBar.vue index e8f3138..417197e 100644 --- a/src/components/echarts/echarsBar.vue +++ b/src/components/echarts/echarsBar.vue @@ -50,7 +50,7 @@ } }, grid: { - left: '5%', + left: '5%', top: '10%', right: '10%', bottom: '3%', @@ -93,8 +93,7 @@ for (let i = 1; i < this.param.seriesCount; i++) { this.data.series[i] = { stack: this.param.seriesStack[i], - name: this.param.seriesName[i], - type: this.param.seriesType[i], + name: this.param.seriesName[i], data: this.param.seriesData[i], color: this.param.seriesColorData[i], yAxisIndex: this.param.yAxisIndexData[i] @@ -107,7 +106,7 @@ immediate: true, deep: true, handler(newVal, oldVal) { - if (this.chart) { + if (this.chart) { if (newVal) { if (newVal.chartType === 'transverse') { this.transverse() -- Gitblit v1.8.0