Commit b769d2e6 by 刘泽奇

123

parent 97b532a7
...@@ -501,6 +501,10 @@ ...@@ -501,6 +501,10 @@
} }
}, },
loginOut(){ loginOut(){
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; let _this = this;
$.ajax({ $.ajax({
async: true, async: true,
...@@ -515,11 +519,14 @@ ...@@ -515,11 +519,14 @@
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) {
......
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