From 47ebb4cc8c3033310930f9bba7541cb4929491a7 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Sat, 30 Oct 2021 14:55:06 +0000 Subject: [PATCH] style: prettify code --- src/pages/index/view/CodemirrorEditor.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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() {