mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
fix: menu emits fix
This commit is contained in:
parent
0cd2301fbd
commit
3940a9e816
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user