Cannot read property 'nickName' of null;at App logins function;at api login success callback function TypeError: Cannot read property 'nickName' of null at success (https://app.js:360:31)at Function.function.o.(anonymous function) (https://lib/WASubContext.js:1:750490)at r (https://lib/WASubContext.js:1:194712)at https://lib/WASubContext.js:1:194895at g (https://lib/WASubContext.js:1:194899)at https://lib/WASubContext.js:1:196307
出错信息表明,此时userInfo还没获取到。
这里是app.globalData.userInfo吧
如果有的人微信号是 空的呢 这样是不是就获取不到了 又或者是 获取的是微信分身?