From f0012447e67bba9474924c5584889787e53df362 Mon Sep 17 00:00:00 2001 From: junjun Date: Fri, 19 May 2023 15:32:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=84=E5=90=88=E5=9B=BE=E5=89=AF?= =?UTF-8?q?=E8=BD=B4=E5=80=BC=E6=94=AF=E6=8C=81=E5=90=8C=E7=8E=AF=E6=AF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/dragItem/QuotaExtItem.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/chart/components/dragItem/QuotaExtItem.vue b/frontend/src/views/chart/components/dragItem/QuotaExtItem.vue index e428beb5e2..4ce2771a3f 100644 --- a/frontend/src/views/chart/components/dragItem/QuotaExtItem.vue +++ b/frontend/src/views/chart/components/dragItem/QuotaExtItem.vue @@ -319,10 +319,10 @@ export default { }, isEnableCompare() { let xAxis = null - if (Object.prototype.toString.call(this.chart.xaxisExt) === '[object Array]') { - xAxis = JSON.parse(JSON.stringify(this.chart.xaxisExt)) + if (Object.prototype.toString.call(this.chart.xaxis) === '[object Array]') { + xAxis = JSON.parse(JSON.stringify(this.chart.xaxis)) } else { - xAxis = JSON.parse(this.chart.xaxisExt) + xAxis = JSON.parse(this.chart.xaxis) } const t1 = xAxis.filter(ele => { return ele.deType === 1 && SUPPORT_Y_M.includes(ele.dateStyle)