Revert "restrict rule"

This reverts commit 843bd1a088.
This commit is contained in:
Louis-7
2018-09-03 14:57:04 +08:00
parent 843bd1a088
commit 43ef09dfed
2 changed files with 0 additions and 10 deletions
-8
View File
@@ -103,14 +103,6 @@
}
}
.sidemenu {
:global{
.ant-menu-item {
width: 100%;
}
}
}
.switchtheme {
width: 100%;
position: absolute;
-2
View File
@@ -4,7 +4,6 @@ import { Menu, Icon } from 'antd'
import { Link } from 'react-router-dom'
import { arrayToTree, queryArray } from 'utils'
import pathToRegexp from 'path-to-regexp'
import styles from './Layout.less'
const { SubMenu } = Menu
let openKeysFlag = false
@@ -124,7 +123,6 @@ const Menus = ({
mode={siderFold ? 'vertical' : 'inline'}
theme={darkTheme ? 'dark' : 'light'}
selectedKeys={defaultSelectedKeys}
className={styles.sidemenu}
>
{menuItems}
</Menu>