巴林闲侠 3 years ago
parent
commit
144b2a2c2c
  1. 5
      web/client/src/layout/containers/layout/index.jsx

5
web/client/src/layout/containers/layout/index.jsx

@ -140,6 +140,11 @@ const LayoutContainer = props => {
useEffect(() => {
let pathnameArr = location.pathname.split('/')
if (location.pathname == '/userCenter') {
localStorage.setItem('poms_open_sider', JSON.stringify([]))
localStorage.removeItem('poms_selected_sider')
setLeftShow(false)
}
let openArr = []
for (let i = 0; i < allItems.length; i++) {
if (allItems[i].items) {

Loading…
Cancel
Save