mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
context menu fix
This commit is contained in:
@@ -90,6 +90,8 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
events.$on('context-menu:hide', () => this.closeAndResetContextMenu())
|
||||
|
||||
events.$on('context-menu:show', (event, item) => {
|
||||
// Store item
|
||||
this.item = item
|
||||
@@ -109,8 +111,6 @@ export default {
|
||||
this.positionX = container.offsetLeft
|
||||
}
|
||||
})
|
||||
|
||||
events.$on('unClick', () => this.closeAndResetContextMenu())
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user