diff --git a/src/view/CodemirrorEditor.vue b/src/view/CodemirrorEditor.vue index 1f17463..1e08dcb 100644 --- a/src/view/CodemirrorEditor.vue +++ b/src/view/CodemirrorEditor.vue @@ -56,9 +56,7 @@ v-model="rightClickMenuVisible" :left="mouseLeft" :top="mouseTop" - @downLoad="downloadEditorContent" @menuTick="onMenuEvent" - @insertTable="dialogFormVisible = true" /> @@ -295,6 +293,11 @@ export default { case 'insertPic': this.uploaded(info); break; + case 'downLoad': + this.downloadEditorContent(); + break; + case 'insertTable': + this.dialogFormVisible = true; default: break; }