diff --git a/src/compenents/left-menu/index.tsx b/src/compenents/left-menu/index.tsx index 7c9cfde..54668d2 100644 --- a/src/compenents/left-menu/index.tsx +++ b/src/compenents/left-menu/index.tsx @@ -67,7 +67,7 @@ const children2Parent: any = { "/member": ["4"], "/department": ["4"], - + "/course": ["5"], "/system/administrator": ["6"], @@ -93,7 +93,14 @@ export const LeftMenu: React.FC = () => { return (
{ window.location.href = "/"; }} diff --git a/src/pages/home/index.module.less b/src/pages/home/index.module.less index dc375e9..981bb5b 100644 --- a/src/pages/home/index.module.less +++ b/src/pages/home/index.module.less @@ -8,12 +8,15 @@ float: left; } .right-cont { - flex:1; + flex: 1; display: flex; flex-direction: column; .right-top { width: 100%; height: 48px; + position: sticky; + top: 0; + z-index: 10; } .right-main { width: 100%;