Commit abfe72e2 authored by nano's avatar nano

fix

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