Browse Source

登录路由问题

master
xingyongchun 2 years ago
parent
commit
aa727b440f
  1. 2
      web/client/src/layout/components/header/index.js
  2. 2
      web/client/src/sections/homePage/containers/index.js

2
web/client/src/layout/components/header/index.js

@ -34,7 +34,7 @@ function Header(props) {
const handelClick = (item) => { const handelClick = (item) => {
if (item.key === 'logout') { if (item.key === 'logout') {
// dispatch(actions.auth.logout(user)); // dispatch(actions.auth.logout(user));
// sessionStorage.removeItem('selectedKeys'); sessionStorage.removeItem('selectedKeys');
history.push('/brief'); history.push('/brief');
} }
// else if (item.key === 'themeLight') { // else if (item.key === 'themeLight') {

2
web/client/src/sections/homePage/containers/index.js

@ -225,7 +225,7 @@ function Management(props) {
<Table dataSource={peopleData} columns={peopleCol} size="middle" pagination={false} scroll={{ y: 240 }} /> <Table dataSource={peopleData} columns={peopleCol} size="middle" pagination={false} scroll={{ y: 240 }} />
{/* </Scroller> */} {/* </Scroller> */}
</div> </div>
</div> </div>

Loading…
Cancel
Save