Commit ec93f6d8 by guomingpang

feat:课程管理缺省图替换,导航栏收起高亮

parent 4fe67986
......@@ -151,7 +151,6 @@ function Aside(props: any) {
}
function toggleMenu(item: any, selectKey: any) {
console.log('item', item, selectKey);
setSelectKeyParent(selectKey);
window.RCHistory.push(item.link);
if (!menuType) {
......@@ -207,7 +206,6 @@ function Aside(props: any) {
<Menu
style={menuType ? { minHeight: '100%', background: '#0E1935' } : { minHeight: '100%', background: '#0E1935', width: '56px' }}
selectedKeys={selectKey}
openKeys={menuType ? openKeys : []}
onOpenChange={onOpenChange}
inlineCollapsed={collapsed}
mode={menuType ? 'inline' : 'vertical'}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment