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