Commit ed88d170 by 郑永杰

更新

1 parent ad98cba4
Showing with 1 additions and 1 deletions
...@@ -40,7 +40,7 @@ const Page = ({ children, userRoute = [], location }) => { ...@@ -40,7 +40,7 @@ const Page = ({ children, userRoute = [], location }) => {
<Menu theme={theme} mode="inline" selectedKeys={index} > <Menu theme={theme} mode="inline" selectedKeys={index} >
{userRoute.map(e => { {userRoute.map(e => {
return ( return (
<SubMenu key={e.name} icon={<img className="icon" src={APP.STATIS_URL + e.icon} />} title={e.name}> <SubMenu key={e.name} icon={<img className="icon" src={APP.STATIS_URL + e.icon} alt="" />} title={e.name}>
{e.childMenus.map(child => <Item key={child.url} url={child.url} >{child.name}</Item>)} {e.childMenus.map(child => <Item key={child.url} url={child.url} >{child.name}</Item>)}
</SubMenu> </SubMenu>
) )
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!