mirror of https://gitee.com/answerdev/answer.git
fix: #796
This commit is contained in:
parent
5e61ece028
commit
443fcebaef
|
@ -90,7 +90,7 @@ const Editor = ({
|
|||
return;
|
||||
}
|
||||
if (editor.getValue() !== value) {
|
||||
// editor.setValue(value);
|
||||
editor.setValue(value);
|
||||
}
|
||||
}, [editor, value]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue