src/components/CodeEditor/src/codemirror/CodeMirror.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/CodeEditor/src/codemirror/CodeMirror.vue
@@ -53,7 +53,9 @@ async (v) => { await nextTick(); const oldValue = editor?.getValue(); v && v !== oldValue && editor?.setValue(v); if (v !== oldValue) { editor?.setValue(v ? v : ''); } }, { flush: 'post' } );