We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33fa473 commit 6f98a79Copy full SHA for 6f98a79
1 file changed
src/layouts/components/MenuContent.vue
@@ -57,7 +57,7 @@ const getMenuList = (list: MenuRoute[], basePath?: string): MenuRoute[] => {
57
});
58
return list
59
.map((item) => {
60
- const path = basePath ? `${basePath}/${item.path}` : item.path;
+ const path = basePath && !item.path.includes(basePath) ? `${basePath}/${item.path}` : item.path;
61
return {
62
path,
63
title: item.meta?.title,
0 commit comments