fix: menu emits fix

This commit is contained in:
JimQing 2020-07-13 20:34:36 +08:00
parent 0cd2301fbd
commit 3940a9e816

View File

@ -56,9 +56,7 @@
v-model="rightClickMenuVisible"
:left="mouseLeft"
:top="mouseTop"
@downLoad="downloadEditorContent"
@menuTick="onMenuEvent"
@insertTable="dialogFormVisible = true"
/>
</div>
</template>
@ -295,6 +293,11 @@ export default {
case 'insertPic':
this.uploaded(info);
break;
case 'downLoad':
this.downloadEditorContent();
break;
case 'insertTable':
this.dialogFormVisible = true;
default:
break;
}