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