From 6b196a6030f13a1ab98d857bdf8a8ba27db6b1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 22 Oct 2021 17:27:36 +0300 Subject: [PATCH] Fixed #1688 - ContextMenu "template" prop type error --- src/components/contextmenu/ContextMenuSub.vue | 2 +- src/views/contextmenu/ContextMenuDemo.vue | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/contextmenu/ContextMenuSub.vue b/src/components/contextmenu/ContextMenuSub.vue index 7fe17c960..5e264faa7 100755 --- a/src/components/contextmenu/ContextMenuSub.vue +++ b/src/components/contextmenu/ContextMenuSub.vue @@ -49,7 +49,7 @@ export default { default: false }, template: { - type: Object, + type: Function, default: null }, exact: { diff --git a/src/views/contextmenu/ContextMenuDemo.vue b/src/views/contextmenu/ContextMenuDemo.vue index 56cef2285..60ecf8f23 100755 --- a/src/views/contextmenu/ContextMenuDemo.vue +++ b/src/views/contextmenu/ContextMenuDemo.vue @@ -11,7 +11,12 @@
logo - + + + +