Commit cc02d244 authored by 曾婧's avatar 曾婧

fix:登录跳首页

parent f0e7c647
...@@ -13,7 +13,7 @@ import FormLogin from './FormLogin'; ...@@ -13,7 +13,7 @@ import FormLogin from './FormLogin';
import { actionCreators } from '@/containers/App/store'; import { actionCreators } from '@/containers/App/store';
import LoginAction from '../../login'; import LoginAction from '../../login';
import styles from './index.less'; import styles from './index.less';
import { initMicroApps } from '@/micro'; import { defaultApp } from '@/micro';
class HuaNongLogin extends Component { class HuaNongLogin extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
...@@ -50,7 +50,7 @@ class HuaNongLogin extends Component { ...@@ -50,7 +50,7 @@ class HuaNongLogin extends Component {
this.setSubmitting(false); this.setSubmitting(false);
this.props.updateCurrentIndex && this.props.updateCurrentIndex(0); this.props.updateCurrentIndex && this.props.updateCurrentIndex(0);
this.props.history.push(`/?client=${this.props.global.client}`); this.props.history.push(`/?client=${this.props.global.client}`);
initMicroApps(); defaultApp();
}); });
action && action &&
action.events.on('loginError', event => { action.events.on('loginError', event => {
......
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