Browse Source

提交

yxb
yangteng 1 year ago
parent
commit
c2332d0639
2 changed files with 3 additions and 0 deletions
  1. 1
    0
      pages/index/index.vue
  2. 2
    0
      subpackage/after-sale/activation/operation-tips.vue

+ 1
- 0
pages/index/index.vue View File

@@ -1082,5 +1082,6 @@
height: 150rpx;
margin: 30rpx 0;
margin-bottom: 0;
width: 100%;
}
</style>

+ 2
- 0
subpackage/after-sale/activation/operation-tips.vue View File

@@ -67,10 +67,12 @@

const gotoNextStep = () => {
noticeUser(() => {
console.log("11111")
uni.openBluetoothAdapter()
/* 判断是否打开蓝牙 */
uni.getBluetoothAdapterState({
success(res) {
console.log("2222",res)
//如果res.avaliable==false 说明没打开蓝牙 反之则打开
if (res.available == false) {
uni.showToast({

Loading…
Cancel
Save