Commit c3e68063 by Denglingling

增加记录用户登录名

parent 7e64ce60
Showing with 7 additions and 0 deletions
...@@ -51,6 +51,13 @@ class LoginPage extends Component{ ...@@ -51,6 +51,13 @@ class LoginPage extends Component{
// this.subAutoLogin() // this.subAutoLogin()
SplashScreen.hide() //关闭启动屏幕 SplashScreen.hide() //关闭启动屏幕
this.timer = setTimeout(() => {
this.getLocalUserName()
}, 300)
}
componentWillUnmount() {
clearTimeout(this.timer)
} }
componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {
......
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 sign in to comment