diff --git a/src/view/CodemirrorEditor.vue b/src/view/CodemirrorEditor.vue index 37adc22..e83535a 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" /> @@ -280,6 +278,11 @@ export default { case 'insertPic': this.uploaded(info); break; + case 'downLoad': + this.downloadEditorContent(); + break; + case 'insertTable': + this.dialogFormVisible = true; default: break; }