From a9aa38a1d0f1275ece0dace0652586d667686680 Mon Sep 17 00:00:00 2001 From: ZLY Date: Fri, 26 Sep 2025 15:20:35 +0800 Subject: [PATCH] =?UTF-8?q?pref(sidebar):=20=E4=BC=98=E5=8C=96=E5=AD=90?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=9E=84=E9=80=A0=E6=98=AF=E7=9A=84parentKey?= =?UTF-8?q?=E7=9A=84=E5=8F=96=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ideContainer/sideBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ideContainer/sideBar.tsx b/src/pages/ideContainer/sideBar.tsx index fa229ad..2e0461d 100644 --- a/src/pages/ideContainer/sideBar.tsx +++ b/src/pages/ideContainer/sideBar.tsx @@ -55,7 +55,7 @@ const SideBar: React.FC = ({ selected, identity, subMenuData, onMe v.title = v.name; v.key = `compFlow-${v.id}`; v.path = 'compFlow'; - v.parentKey = menu[activeKey]?.key; + v.parentKey = subMenuKey; v.children = [ { title: '事件',