From 58323b0739ac46d2f07fe0781c2aa4f8dd248ce8 Mon Sep 17 00:00:00 2001 From: junjun Date: Tue, 15 Nov 2022 11:46:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=8C=87=E6=A0=87=E5=8D=A1=E6=95=B0=E5=80=BC=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/view/ChartEdit.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 4914074857..14536f1e3d 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -1624,7 +1624,6 @@ import ScrollCfg from '@/views/chart/components/senior/ScrollCfg' import ChartFieldEdit from '@/views/chart/view/ChartFieldEdit' import CalcChartFieldEdit from '@/views/chart/view/CalcChartFieldEdit' import { equalsAny } from '@/utils/StringUtils' -import { quotaViews } from '@/views/chart/chart/util' export default { name: 'ChartEdit', @@ -2129,10 +2128,6 @@ export default { if (!ele.compareCalc) { ele.compareCalc = compareItem } - if (quotaViews.indexOf(view.type) > -1) { - ele.compareCalc = compareItem - ele.formatterCfg.type = 'auto' - } }) if (view.type === 'chart-mix') { view.yaxisExt.forEach(function(ele) { @@ -2160,10 +2155,6 @@ export default { if (!ele.compareCalc) { ele.compareCalc = compareItem } - if (quotaViews.indexOf(view.type) > -1) { - ele.compareCalc = compareItem - ele.formatterCfg.type = 'auto' - } }) } view.extStack.forEach(function(ele) {