Waibil Feng
2020-05-26
加粗
标红
插入代码
插入链接
插入图片
上传视频
请 登录 后发表内容
关闭
新增或编辑超链接
链接地址
关闭
插入视频
视频链接
openBluetoothAdapter() {
let _this = this;
return new Promise((resolve, reject) => {
wx.openBluetoothAdapter({
success(res) {
_this.startBluetoothDevicesDiscovery().then(res => {
resolve(res)
});
},
fail(res) {
wx.hideLoading();//应该是这里会报错的。。。
wx.showModal({
title: '温馨提示',
showCancel: false,
//content: '请先打开蓝牙再进行操作'
content: res.errMsg,
});
reject(res)
}
});
});
},
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。待楼主反馈
2020-05-26
赞
回复
关闭
请选择投诉理由
广告内容
违法违规
恶意灌水内容
其他