Merge pull request #3750 from dataease/pr@dev@fix_format

Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
Junjun 2022-11-15 11:51:43 +08:00 committed by GitHub
commit e1a4e4b6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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