Commit baa94e96 by cuishuai

login

parent 8a2154ce
......@@ -63,7 +63,7 @@
this.positionTop = uni.getSystemInfoSync().windowHeight - 100;
},
invokeServer(body) {
console.log(util.user)
console.log(this.GLOBALUTIL.user)
var form = [];
for(let i in body){
if(body.hasOwnProperty(i)){
......@@ -81,9 +81,12 @@
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
},
success: (res) => {
util.user = res.data.loginresponse
this.GLOBALUTIL.user = res.data.loginresponse
console.log(res.data);
this.text = 'request success';
uni.reLaunch({
url: '../Security-Check/index',
});
}
})
},
......
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