Commit 922f8a6f authored by 田翔's avatar 田翔

fix: 描述控件重新编辑报错问题

parent c3743d14
{
"name": "panda-xform",
"version": "6.9.24",
"description": "6.9.24 描述控件重新编辑报错问题",
"version": "6.9.25",
"description": "6.9.25 描述控件重新编辑报错问题",
"keywords": [
"panda-xform"
],
......
......@@ -83,7 +83,11 @@ const ContentHTML = (props) => {
}
}}
value={value}
onCreated={setEditor}
onCreated={value => {
if (!editor) {
setEditor(value)
}
}}
// onChange={editorChange}
mode="default"
style={{ minHeight: '400px', overflowY: 'hidden' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment