fix(视图): 修复指标卡数值格式化无效的问题
This commit is contained in:
parent
6df9b2398f
commit
58323b0739
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user