Commit 282d416f by 朱建香

1024主页面修改

parent be878c42
......@@ -82,12 +82,8 @@ function init() {
iot.business.sds.registerPushListener({
success: (response) => {
console.log(response);
if(typeof(response) == 'string'){
console.log("in");
let data = JSON.parse(response);
console.log(data);
setDevceInfo(self, data.params.data);
}
let data = response.data;
setDevceInfo(self, data.params.data);
},
error: (error) => {
console.log(error);
......
......@@ -15971,12 +15971,8 @@ function init() {
_public.iot.business.sds.registerPushListener({
success: function success(response) {
console.log(response);
if (typeof response == 'string') {
console.log("in");
var data = JSON.parse(response);
console.log(data);
setDevceInfo(self, data.params.data);
}
var data = response.data;
setDevceInfo(self, data.params.data);
},
error: function error(_error2) {
console.log(_error2);
......
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