Browse Source

联通登录

Limengbo 5 years ago
parent
commit
0a338ad4cd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      view/question.html

+ 2 - 1
view/question.html

@@ -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 : '小朋友';