From 267bf75bc1dc8b52d79a03f474de9bdbdb547ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Mon, 27 Oct 2025 13:46:06 +0800 Subject: [PATCH] =?UTF-8?q?chore(useMetaLayoutsMenuOptions):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=B0=83=E8=AF=95=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/useMetaLayoutsMenuOptions.tsx | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/composables/useMetaLayoutsMenuOptions.tsx b/src/composables/useMetaLayoutsMenuOptions.tsx index 5cec12f..13842a5 100644 --- a/src/composables/useMetaLayoutsMenuOptions.tsx +++ b/src/composables/useMetaLayoutsMenuOptions.tsx @@ -150,8 +150,28 @@ export function useMetaLayoutsNMenuOptions({ menuInstRef }: { menuInstRef: Ref ({ + // // path + // // name + // // meta + // ...route, + // props: undefined, + // children: undefined, + // instances: undefined, + // leaveGuards: undefined, + // updateGuards: undefined, + // enterCallbacks: undefined, + // components: undefined, + // })), + // null, + // 0, + // ), + // ); + // console.debug('转换后的菜单:', JSON.stringify(options.value, null, 0)); + return { options, selectedKey,