<template>
<div><div id='editWorkFlow' @contextmenu.prevent.stop="handleClick">
</div>
<div v-show="showContextMenu" ref="contextMenuRef" class="contextMenu"> </div></div>
</template>
const handleClick = function({clientX, clientY}) {
contextMenuRef.value.style.left = clientX - document.getElementById('editWorkFlow').getBoundingClientRect().left + 'px'
contextMenuRef.value.style.top = clientY - document.getElementById('editWorkFlow').getBoundingClientRect().top + 'px'
}