diff --git a/src/forge/Information/Component/publicBanner.jsx b/src/forge/Information/Component/publicBanner.jsx index 3d5484395..2b02fc3e8 100644 --- a/src/forge/Information/Component/publicBanner.jsx +++ b/src/forge/Information/Component/publicBanner.jsx @@ -33,6 +33,7 @@ function PublicBanner(props) { const vip = /[A-Za-z0-9]{0,}\/VIP/g; const help = /[A-Za-z0-9]{0,}\/help/g; const dataset = /[A-Za-z0-9]{0,}\/dataset/g; + const lesson = /[A-Za-z0-9]{0,}\/lessons/g; if (pathname === `/zone/${deptId}`) { setKey("1"); } @@ -53,6 +54,8 @@ function PublicBanner(props) { } else if (dataset.test(pathname)) { setKey("9"); + }else if(lesson.test(pathname)) { + setKey("10"); } } }, [pathname]) @@ -154,6 +157,7 @@ function PublicBanner(props) { {sectionResourceShow &&
{sectionResourceTitle}
{sectionCmsTitle}
课程实训
{sectionMemberTitle}
{data.sectionHelperTitle}
后台管理