一点小优化,从设备详情去绑定蓝牙设备,成功后更新设备详情的连接状态
This commit is contained in:
@ -731,6 +731,7 @@
|
||||
events: {
|
||||
BindOver: function(data) {
|
||||
console.log(data)
|
||||
these.formData.bleStatu=true;
|
||||
}
|
||||
},
|
||||
success: function(res) {
|
||||
|
||||
@ -692,6 +692,7 @@ console.log("res=",res);
|
||||
events: {
|
||||
BindOver: function(data) {
|
||||
console.log(data)
|
||||
these.formData.bleStatu=true;
|
||||
}
|
||||
},
|
||||
success: function(res) {
|
||||
|
||||
@ -643,6 +643,7 @@
|
||||
events: {
|
||||
BindOver: function(data) {
|
||||
console.log(data)
|
||||
these.formData.bleStatu=true;
|
||||
}
|
||||
},
|
||||
success: function(res) {
|
||||
|
||||
@ -469,7 +469,9 @@
|
||||
|
||||
}
|
||||
hideLoading(these);
|
||||
|
||||
|
||||
eventChannel.emit('BindOver',these.device);
|
||||
|
||||
ble.updateCache();
|
||||
uni.navigateBack();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user