Commit b0f899cb by FE

del alert

parent 90676184
...@@ -38,7 +38,6 @@ class Python extends Component { ...@@ -38,7 +38,6 @@ class Python extends Component {
this.setState({ this.setState({
userInfoList: result userInfoList: result
}, () => { }, () => {
alert(JSON.stringify(this.state.userInfoList))
if (this.state.userInfoList.length) { if (this.state.userInfoList.length) {
this.props.startFetchUser() this.props.startFetchUser()
this.appLogin() this.appLogin()
...@@ -62,10 +61,10 @@ class Python extends Component { ...@@ -62,10 +61,10 @@ class Python extends Component {
this.setState({ this.setState({
isAppUpdate: true isAppUpdate: true
}) })
this.fetchCourseInfo();
} }
this.props.setCurrentUser(this.transformUser(this.state.userInfoList)); this.props.setCurrentUser(this.transformUser(this.state.userInfoList));
this.fetchCourseInfo();
} }
transformUser = res => { transformUser = res => {
......
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