Merge pull request #2987 from dataease/pr@dev@refactor_panel-richText

fix(视图): 修复富文本视图编辑时点击仪表板空白区可能未及时显示转换数据问题
This commit is contained in:
王嘉豪 2022-08-30 15:34:45 +08:00 committed by GitHub
commit 5e19ccb0a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,6 +112,8 @@ export default {
this.canEdit = false
this.reShow()
this.myValue = this.assignment(this.element.propValue.textValue)
const ed = tinymce.editors[this.tinymceId]
ed.setContent(this.myValue)
}
},
myValue(newValue) {