Echart 动态修改不提供formatter的属性
用 三元表达式 选择
{
source: reverse ? 2 : 0,
target: 1,
label: {
normal: {
show: true,
custom: {
bwckh: data1.bwckh,
label: data1.time1.label
},
formatter: select(data1.name, data1.time1.time),
rich: rich
}
},
lineStyle: data1.time1.time == "" ? XlineStyle : SlineStyle
}