diff --git a/src/layouts/components/MenuContent.vue b/src/layouts/components/MenuContent.vue index 2ba7a09..fc9977e 100644 --- a/src/layouts/components/MenuContent.vue +++ b/src/layouts/components/MenuContent.vue @@ -57,7 +57,7 @@ const getMenuList = (list: MenuRoute[], basePath?: string): MenuRoute[] => { }); return list .map((item) => { - const path = basePath ? `${basePath}/${item.path}` : item.path; + const path = basePath && !item.path.includes(basePath) ? `${basePath}/${item.path}` : item.path; return { path, title: item.meta?.title,