蓝牙小优化,App隐藏时断开设备连接
This commit is contained in:
@ -599,9 +599,9 @@ import request, { baseURL } from '@/utils/request.js';
|
||||
|
||||
},
|
||||
deviceDispose(res) {
|
||||
if (this.Status.pageHide) {
|
||||
return;
|
||||
}
|
||||
//if (this.Status.pageHide) {
|
||||
// return;
|
||||
//}
|
||||
if (res.deviceId == these.formData.deviceId) {
|
||||
if(res.device){
|
||||
these.formData.bleStatu = 'connecting';
|
||||
|
||||
Reference in New Issue
Block a user