Merge pull request #10573 from dataease/pr@dev@fix_rich-text

fix(图表): 修改富文本阈值设置后没有及时显示颜色问题
This commit is contained in:
王嘉豪 2024-06-27 18:42:11 +08:00 committed by GitHub
commit 0e15015b7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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) => {