Commit abfe72e2 authored by nano's avatar nano

fix

parent c589b9f6
This diff is collapsed.
......@@ -11,7 +11,7 @@
<div id="root"></div>
<script src="index.js"></script>
<script src="/index.js"></script>
</body>
</html>
......@@ -8,8 +8,8 @@ import {Layout} from "antd";
class Entry extends React.Component {
componentWillMount() {
const {dispatch, location:{pathname}} = this.props
if(pathname !== 'loginCallback') {
const {dispatch, location: {pathname}} = this.props
if (pathname !== 'loginCallback') {
dispatch({type: 'Common/init'})
}
}
......
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