Commit 33797562 by 朱建香

1117

parent 36108546
......@@ -74,10 +74,12 @@ function loginButtonTap(self){
sds: true
},
success: (response) => {
console.log(response);
// console.log(response);
// alert(JSON.stringify(response));
var data = uPublic.checkResponseData(response.data);
if(data){
if(data.hasOwnProperty('UserID')){
cloudsLogin(self, data.UserID);
}
// iot.navigator.openWindow({
......
......@@ -82,10 +82,12 @@ function loginButtonTap(self) {
sds: true
},
success: function success(response) {
console.log(response);
// console.log(response);
// alert(JSON.stringify(response));
var data = _public.uPublic.checkResponseData(response.data);
if (data) {
if (data.hasOwnProperty('UserID')) {
cloudsLogin(self, data.UserID);
}
// iot.navigator.openWindow({
......
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