修复蓝牙连接锁未释放的问题
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
</view>
|
||||
|
||||
</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>
|
||||
</view>
|
||||
@ -323,7 +323,8 @@
|
||||
callback: this.gotoShare,
|
||||
apiType: 'listA'
|
||||
}],
|
||||
title: 'BJQ4877'
|
||||
title: 'BJQ4877',
|
||||
height:90
|
||||
|
||||
},
|
||||
ShowEditChannel: false,
|
||||
@ -447,7 +448,9 @@
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.Status.navbar.height = uni.getSystemInfoSync().statusBarHeight + 44;
|
||||
},
|
||||
onUnload() {
|
||||
console.log("页面卸载,释放资源");
|
||||
ble.removeAllCallback(pagePath);
|
||||
|
||||
Reference in New Issue
Block a user