Skip to content

Commit e1a4e4b

Browse files
Merge pull request dataease#3750 from dataease/pr@dev@fix_format
Merge remote-tracking branch 'origin/dev' into dev
2 parents 8b65329 + 5f37ae7 commit e1a4e4b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

frontend/src/views/chart/view/ChartEdit.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,6 @@ import ScrollCfg from '@/views/chart/components/senior/ScrollCfg'
16241624
import ChartFieldEdit from '@/views/chart/view/ChartFieldEdit'
16251625
import CalcChartFieldEdit from '@/views/chart/view/CalcChartFieldEdit'
16261626
import { equalsAny } from '@/utils/StringUtils'
1627-
import { quotaViews } from '@/views/chart/chart/util'
16281627
16291628
export default {
16301629
name: 'ChartEdit',
@@ -2129,10 +2128,6 @@ export default {
21292128
if (!ele.compareCalc) {
21302129
ele.compareCalc = compareItem
21312130
}
2132-
if (quotaViews.indexOf(view.type) > -1) {
2133-
ele.compareCalc = compareItem
2134-
ele.formatterCfg.type = 'auto'
2135-
}
21362131
})
21372132
if (view.type === 'chart-mix') {
21382133
view.yaxisExt.forEach(function(ele) {
@@ -2160,10 +2155,6 @@ export default {
21602155
if (!ele.compareCalc) {
21612156
ele.compareCalc = compareItem
21622157
}
2163-
if (quotaViews.indexOf(view.type) > -1) {
2164-
ele.compareCalc = compareItem
2165-
ele.formatterCfg.type = 'auto'
2166-
}
21672158
})
21682159
}
21692160
view.extStack.forEach(function(ele) {

0 commit comments

Comments
 (0)