refactor(图表): 变更富文本控制显示方式

This commit is contained in:
wangjiahao 2024-06-28 18:08:17 +08:00
parent 14a4eb770f
commit eaff01b3d3

View File

@ -231,7 +231,7 @@ const assignment = content => {
value = `<span style="color:${thresholdStyle.color};background-color: ${thresholdStyle.backgroundColor}">${value}</span>`
}
if (initReady.value) {
content = content.replace(itm, !!value ? value : '[未获取字段值]')
content = content.replace(itm, !!value ? value : '-')
} else {
content = content.replace(itm, !!value ? value : '[获取中...]')
}