请问一下,问题解决了么,如果解决了是怎么解决的
wx.onBLECharacteristicValueChange 不执行wx.notifyBLECharacteristicValueChange({ //notifyBLECharacteristicValueChange deviceId: deviceId, serviceId: serviceID, characteristicId: characterID, state: true, success: function (res) { console.log('*****notifyBLECharacteristicValueChange -- success'); console.log(res); //初始化蓝牙 1.福瑞泰克 2.博思凯 --ps:这里同钥匙列表.js不同 wx.onBLECharacteristicValueChange(function (res) { //福瑞泰克 wx.hideLoading(); utils.showModelDialog("开门成功"); //福瑞泰克 }) }, fail: function (res) { that.relaseBle(); wx.hideLoading(); //启用低功耗蓝牙设备特征值变化时的 notify 功能,订阅特征值 that.wxShowModel("开门失败"); }, }); 启用低功耗蓝牙设备特征值变化时的 notify功能成功后,一直不执行wx.onBLECharacteristicValueChange,或者说执行的时间太长,很慢,就只一直等待
2021-07-28将 ../../xxx/xxx 这种形式,更换为 /xxx/xxx 就可以了
自定义组件提示路径找不到Component is not found使用自定义组件,一直提示: jsEnginScriptError Component is not found in path "components/loading/loading" (using by "pages/store/index") Error: Component is not found in path "components/loading/loading" (using by "pages/store/index") 检查路径和名称都是正确符合规范的,但是一直提示这个问题,求解。 [图片]
2021-07-26