fix: 修复代码编辑框回显

This commit is contained in:
wangshuaiswim 2023-02-23 20:09:14 +08:00
parent 372cf91fbb
commit ee37c20d8d
1 changed files with 5 additions and 0 deletions

View File

@ -90,6 +90,11 @@ const insert = (val) => {
]);
}
watch(() => props.value,
(val) => {
instance.setValue(val)
})
defineExpose({
editorFormat,
insert,