Commit ec93f6d8 by guomingpang

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

parent 4fe67986
...@@ -151,7 +151,6 @@ function Aside(props: any) { ...@@ -151,7 +151,6 @@ function Aside(props: any) {
} }
function toggleMenu(item: any, selectKey: any) { function toggleMenu(item: any, selectKey: any) {
console.log('item', item, selectKey);
setSelectKeyParent(selectKey); setSelectKeyParent(selectKey);
window.RCHistory.push(item.link); window.RCHistory.push(item.link);
if (!menuType) { if (!menuType) {
...@@ -207,7 +206,6 @@ function Aside(props: any) { ...@@ -207,7 +206,6 @@ function Aside(props: any) {
<Menu <Menu
style={menuType ? { minHeight: '100%', background: '#0E1935' } : { minHeight: '100%', background: '#0E1935', width: '56px' }} style={menuType ? { minHeight: '100%', background: '#0E1935' } : { minHeight: '100%', background: '#0E1935', width: '56px' }}
selectedKeys={selectKey} selectedKeys={selectKey}
openKeys={menuType ? openKeys : []}
onOpenChange={onOpenChange} onOpenChange={onOpenChange}
inlineCollapsed={collapsed} inlineCollapsed={collapsed}
mode={menuType ? 'inline' : 'vertical'}> 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