huanggang 7 years ago
parent
commit
4c190b4d0e
2 changed files with 1 additions and 2 deletions
  1. 1 1
      app.js
  2. 0 1
      pages/person/person.js

+ 1 - 1
app.js

@@ -112,7 +112,7 @@ App({
       openid:'',
       unionid:''
     },
-    userInfo: {},
+    userInfo: null,
     defaultAddress: null,
     fcodeErr: '',
     backLogin:false

+ 0 - 1
pages/person/person.js

@@ -40,7 +40,6 @@ Page({
    */
   onShow: function () {
     const count = this.data.login_count;
-    console.log(app.globalData.userInfo);
       if (!app.globalData.userInfo && count <= 2) {
         this.setData({
           login_count: this.data.login_count+1