Commit b769d2e6 by 刘泽奇

123

parent 97b532a7
...@@ -501,7 +501,11 @@ ...@@ -501,7 +501,11 @@
} }
}, },
loginOut(){ loginOut(){
let _this = this; var url = encodeURIComponent("http://tm.plus.jdcloud.com/#/jd/jdtrademark") ;
location.href = `http://login.jdcloud.com/logout?callback=http://tm.plus.jdcloud.com/#/jd/jdtrademark`;
/*
let _this = this;
$.ajax({ $.ajax({
async: true, async: true,
url: "http://login.jdcloud.com/logout", url: "http://login.jdcloud.com/logout",
...@@ -515,13 +519,16 @@ ...@@ -515,13 +519,16 @@
console.log('状态为:' + status + ',状态是:' + xhr.statusText); console.log('状态为:' + status + ',状态是:' + xhr.statusText);
console.log(response); console.log(response);
if (response.code == 0) { if (response.code == 0) {
console.log(response);
console.log(document.cookie);
} }
} }
}); });
*/
}, },
toViewImg(src) { toViewImg(src) {
this.toViewImgSrc = src; this.toViewImgSrc = src;
this.toViewImgType = true this.toViewImgType = true
......
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 to comment