修复蓝牙连接锁未释放的问题
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
|
||||
</uni-nav-bar>
|
||||
|
||||
<view class="eq">
|
||||
<view class="eq" :style="{marginTop:Status.navbar.height+'px'}">
|
||||
<view class="leftImg" @click.stop="previewImg(device.devicePic?device.devicePic:formData.img)">
|
||||
<image class="img" :src="device.devicePic?device.devicePic:formData.img" mode="aspectFit"></image>
|
||||
|
||||
@ -298,8 +298,8 @@
|
||||
callback: this.gotoShare
|
||||
}
|
||||
],
|
||||
title: 'HBY102'
|
||||
|
||||
title: 'HBY102',
|
||||
height:90
|
||||
},
|
||||
apiType: ''
|
||||
},
|
||||
@ -419,7 +419,9 @@
|
||||
permissions: []
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.Status.navbar.height = uni.getSystemInfoSync().statusBarHeight + 44;
|
||||
},
|
||||
onUnload() {
|
||||
console.log("页面卸载,释放资源");
|
||||
ble.removeAllCallback(pagePath);
|
||||
|
||||
Reference in New Issue
Block a user