diff --git a/src/store/modules/menu.ts b/src/store/modules/menu.ts index f37fd307..e92669a2 100644 --- a/src/store/modules/menu.ts +++ b/src/store/modules/menu.ts @@ -10,7 +10,7 @@ import menu from '@/menu' function getDeepestPath(menu: Menu.recordRaw, rootPath = '') { let retnPath = '' - if (menu.path) { + if (menu.path !== undefined) { if (menu.children) { if ( menu.children.some((item) => {