|
@@ -73,8 +73,9 @@ window.onload=function(){
|
|
|
window.location.href = '../index.html'
|
|
|
return false;
|
|
|
}
|
|
|
-
|
|
|
+ alert(localStorage.getItem('userData'))
|
|
|
var user = JSON.parse(localStorage.getItem('userData'));
|
|
|
+ alert(uid)
|
|
|
var uid = user.uid;
|
|
|
var avatar = user.avatar ? user.avatar : '';
|
|
|
var name = user.wechatName ? user.wechatName : '小朋友';
|