Commit 388396a6 by libai

测试

parent 345442a1
Showing with 2 additions and 1 deletions
...@@ -267,6 +267,7 @@ function loginGo(){ ...@@ -267,6 +267,7 @@ function loginGo(){
if(_self.attr("data-type")==5){ if(_self.attr("data-type")==5){
window.localStorage.removeItem("uid") window.localStorage.removeItem("uid")
window.localStorage.removeItem("token") window.localStorage.removeItem("token")
window.localStorage.removeItem("hello")
window.location.reload() window.location.reload()
} }
}) })
...@@ -1094,7 +1095,7 @@ function statusChangeCallback(response) { // Called with the results from FB.ge ...@@ -1094,7 +1095,7 @@ function statusChangeCallback(response) { // Called with the results from FB.ge
console.log(response); // The current login status of the person. console.log(response); // The current login status of the person.
if (response.status === 'connected') { // Logged into your webpage and Facebook. if (response.status === 'connected') { // Logged into your webpage and Facebook.
info = response info = response
// testAPI(); testAPI();
} else { // Not logged into your webpage or we are unable to tell. } else { // Not logged into your webpage or we are unable to tell.
// document.getElementById('status').innerHTML = 'Please log ' + // document.getElementById('status').innerHTML = 'Please log ' +
// 'into this webpage.'; // 'into this webpage.';
......
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