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 ChartFieldEdit from '@/views/chart/view/ChartFieldEdit'
|
||||||
import CalcChartFieldEdit from '@/views/chart/view/CalcChartFieldEdit'
|
import CalcChartFieldEdit from '@/views/chart/view/CalcChartFieldEdit'
|
||||||
import { equalsAny } from '@/utils/StringUtils'
|
import { equalsAny } from '@/utils/StringUtils'
|
||||||
import { quotaViews } from '@/views/chart/chart/util'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'ChartEdit',
|
name: 'ChartEdit',
|
||||||
@ -2096,10 +2095,6 @@ export default {
|
|||||||
if (!ele.compareCalc) {
|
if (!ele.compareCalc) {
|
||||||
ele.compareCalc = compareItem
|
ele.compareCalc = compareItem
|
||||||
}
|
}
|
||||||
if (quotaViews.indexOf(view.type) > -1) {
|
|
||||||
ele.compareCalc = compareItem
|
|
||||||
ele.formatterCfg.type = 'auto'
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
if (view.type === 'chart-mix') {
|
if (view.type === 'chart-mix') {
|
||||||
view.yaxisExt.forEach(function(ele) {
|
view.yaxisExt.forEach(function(ele) {
|
||||||
@ -2127,10 +2122,6 @@ export default {
|
|||||||
if (!ele.compareCalc) {
|
if (!ele.compareCalc) {
|
||||||
ele.compareCalc = compareItem
|
ele.compareCalc = compareItem
|
||||||
}
|
}
|
||||||
if (quotaViews.indexOf(view.type) > -1) {
|
|
||||||
ele.compareCalc = compareItem
|
|
||||||
ele.formatterCfg.type = 'auto'
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
view.extStack.forEach(function(ele) {
|
view.extStack.forEach(function(ele) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user