From 9eb5d3e6f72097525ffba6ae3ef65f502c399673 Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Wed, 12 Oct 2022 01:30:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E4=BE=A7?= =?UTF-8?q?=E8=BE=B9=E6=A0=8F=E5=AF=BC=E8=88=AA=E6=9C=80=E6=B7=B1=E4=B8=80?= =?UTF-8?q?=E7=BA=A7=E8=B7=AF=E7=94=B1=E5=8F=AF=E8=83=BD=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {