Commit 33797562 by 朱建香

1117

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