mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:47:08 +00:00
Simplifiy <dougal-context-menu/> model
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-menu
|
<v-menu
|
||||||
v-model="show"
|
:value="value"
|
||||||
|
@input="(e) => $emit('input', e)"
|
||||||
:position-x="absolute && x || undefined"
|
:position-x="absolute && x || undefined"
|
||||||
:position-y="absolute && y || undefined"
|
:position-y="absolute && y || undefined"
|
||||||
:absolute="absolute"
|
:absolute="absolute"
|
||||||
@@ -62,7 +63,6 @@ export default {
|
|||||||
|
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
show: false,
|
|
||||||
x: 0,
|
x: 0,
|
||||||
y: 0,
|
y: 0,
|
||||||
showSubmenu: false
|
showSubmenu: false
|
||||||
|
|||||||
Reference in New Issue
Block a user