fix(图表): 修复指标卡配置数值格式后被重置的问题 #12199

This commit is contained in:
jianneng-fit2cloud 2024-09-26 14:25:03 +08:00
parent 982f833d54
commit bb411aaaf5

View File

@ -249,7 +249,10 @@ const quickCalc = param => {
break
case 'setting':
//
resetValueFormatter(item.value)
//
if (chart.value.type !== 'indicator') {
resetValueFormatter(item.value)
}
editCompare()
break
case 'percent':
@ -278,6 +281,7 @@ const editCompare = () => {
}
const valueFormatter = () => {
debugger
item.value.index = props.index
item.value.formatterType = props.type
emit('valueFormatter', item.value)