diff --git a/src/pages/index/view/CodemirrorEditor.vue b/src/pages/index/view/CodemirrorEditor.vue index 29a37d425..8282b37ca 100644 --- a/src/pages/index/view/CodemirrorEditor.vue +++ b/src/pages/index/view/CodemirrorEditor.vue @@ -334,12 +334,9 @@ export default { }, // 导出编辑器内容为 HTML,并且下载到本地 exportEditorContent() { - - this.$nextTick(() => { exportHTML(); - }) - + }); }, // 格式化文档 formatContent() {