From 952786ed79cd9cdf523f6eac5958f68790bacbea Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sun, 27 Nov 2022 06:41:25 +0800 Subject: [PATCH] fix: default props for command palette (#116) --- src/runtime/components/navigation/CommandPalette.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/components/navigation/CommandPalette.vue b/src/runtime/components/navigation/CommandPalette.vue index a8c993c4..076cced5 100644 --- a/src/runtime/components/navigation/CommandPalette.vue +++ b/src/runtime/components/navigation/CommandPalette.vue @@ -104,7 +104,7 @@ const props = defineProps({ }, options: { type: Object as PropType>>, - default: () => {} + default: () => ({}) }, autoselect: { type: Boolean,