diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index 7e7e717385..b2e6e51a3b 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -170,7 +170,7 @@ async function showChildren(item: MenuParent, ev: MouseEvent) { } if (props.asDrawer) { - os.popupMenu(children.value as MenuItem[], ev.currentTarget ?? ev.target, { + os.popupMenu(children as Ref, ev.currentTarget ?? ev.target, { onClosing: () => { close(); } @@ -178,7 +178,7 @@ async function showChildren(item: MenuParent, ev: MouseEvent) { emit('hide'); } else { childTarget = ev.currentTarget ?? ev.target; - childMenu = children; + childMenu = children as Ref; childShowingItem = item; } }