Commit 5e05a281 by 朱建香

debug清空

parent 9aeba3d0
...@@ -921,6 +921,7 @@ function registerPushListener(self){ ...@@ -921,6 +921,7 @@ function registerPushListener(self){
} }
if (window.iotDebug) { if (window.iotDebug) {
iotDebug.upload(iot,'监听消息'); iotDebug.upload(iot,'监听消息');
iotDebug = [];
} }
}, },
error: (error) => { error: (error) => {
...@@ -1080,6 +1081,7 @@ function setRemoteOpendoor(self, time){ ...@@ -1080,6 +1081,7 @@ function setRemoteOpendoor(self, time){
} }
if (window.iotDebug) { if (window.iotDebug) {
iotDebug.upload(iot,'远程开门'); iotDebug.upload(iot,'远程开门');
iotDebug = [];
} }
} }
...@@ -1184,6 +1186,7 @@ function notificationListener(self) { ...@@ -1184,6 +1186,7 @@ function notificationListener(self) {
} }
if (window.iotDebug) { if (window.iotDebug) {
iotDebug.upload(iot,'点击通知'); iotDebug.upload(iot,'点击通知');
iotDebug = [];
} }
pushAction(self, msg); pushAction(self, msg);
}, false); }, false);
...@@ -1194,6 +1197,7 @@ function notificationListener(self) { ...@@ -1194,6 +1197,7 @@ function notificationListener(self) {
} }
if (window.iotDebug) { if (window.iotDebug) {
iotDebug.upload(iot,'接收通知'); iotDebug.upload(iot,'接收通知');
iotDebug = [];
} }
}, false); }, false);
} }
......
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