We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8bba066 + 78b22c5 commit 29f1091Copy full SHA for 29f1091
src/components/Contextmenu/index.vue
@@ -22,7 +22,7 @@
22
23
<script lang="ts" setup>
24
import { computed, PropType } from 'vue'
25
-import { ContextmenuItem, Axis } from './types'
+import { ContextMenu, Axis } from './types'
26
27
import MenuContent from './MenuContent.vue'
28
@@ -36,7 +36,7 @@ const props = defineProps({
36
required: true,
37
},
38
menus: {
39
- type: Array as PropType<ContextmenuItem[]>,
+ type: Array as PropType<ContextMenu[]>,
40
41
42
removeContextmenu: {
@@ -89,4 +89,4 @@ const handleClickMenuItem = (item: ContextmenuItem) => {
89
z-index: 9999;
90
user-select: none;
91
}
92
-</style>
+</style>
0 commit comments