Commit b4129f27 by 朱建香

1024

parent 8138897c
......@@ -205,7 +205,7 @@ function connectButtonTap(self){
deviceId = parameters.sn;
}
let productId = config.mode.substr(config.mode_type.length, 6);
if(response.data == "joined success" && response.info != {}){
if(response.data == "joined success"){
//云端绑定
// unBind(self, deviceId, productId);
bind(self, deviceId, productId);
......
......@@ -221,7 +221,7 @@ function connectButtonTap(self) {
deviceId = parameters.sn;
}
var productId = _config2.default.mode.substr(_config2.default.mode_type.length, 6);
if (response.data == "joined success" && response.info != {}) {
if (response.data == "joined success") {
//云端绑定
// unBind(self, deviceId, productId);
bind(self, deviceId, productId);
......
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