From dc64b0eafd154d64cd4069cec8316242feb9f5fc Mon Sep 17 00:00:00 2001 From: qianming Date: Wed, 1 Feb 2023 16:07:16 +0800 Subject: [PATCH] =?UTF-8?q?bugfix--=E6=9F=B1=E7=BA=BF=E5=9B=BE=E5=9B=BE?= =?UTF-8?q?=E4=BE=8B=E5=9B=BA=E5=AE=9A=E5=85=88=E6=9F=B1=E5=90=8E=E6=8A=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/widget/barline/widgetBarlinechart.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-ui/src/views/bigscreenDesigner/designer/widget/barline/widgetBarlinechart.vue b/report-ui/src/views/bigscreenDesigner/designer/widget/barline/widgetBarlinechart.vue index 2dfbdf71..2a5fc712 100644 --- a/report-ui/src/views/bigscreenDesigner/designer/widget/barline/widgetBarlinechart.vue +++ b/report-ui/src/views/bigscreenDesigner/designer/widget/barline/widgetBarlinechart.vue @@ -493,9 +493,9 @@ export default { for (const j in val.series) { if (series[i].type == val.series[j].type) { series[i].data = val.series[j].data; + legendName.push(val.series[j].name); } } - legendName.push(val.series[i].name); } this.options.legend["data"] = legendName; this.setOptionsLegendName(legendName);