fix(图表): 修改富文本阈值设置后没有及时显示颜色问题

This commit is contained in:
wangjiahao 2024-06-27 18:40:01 +08:00
parent 50dd504b31
commit eebcc1c41d

View File

@ -214,6 +214,8 @@ const viewInit = () => {
const initCurFieldsChange = () => {
if (!canEdit.value) {
myValue.value = assignment(element.value.propValue.textValue)
const ed = tinymce.editors[tinymceId]
ed.setContent(myValue.value)
}
}
@ -446,8 +448,8 @@ const initCurFields = chartDetails => {
}
}
const renderChart = () => {
initCurFieldsChange()
const renderChart = viewInfo => {
calcData(viewInfo)
}
const conditionAdaptor = (chart: Chart) => {