fix(视图): 修复指标卡数值格式化无效的问题
This commit is contained in:
parent
f442a6540c
commit
970b27f8fc
@ -1589,7 +1589,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',
|
||||
@ -2096,10 +2095,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) {
|
||||
@ -2127,10 +2122,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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user