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);