uni.openBluetoothAdapter({
success: (_) => {
uni.getBluetoothAdapterState({
success: (_) => {
this.startDiscoveryDevice()
},
fail: (_) => {
uni.showToast({
title: "请打开手机蓝牙",
icon: "error"
})
}
})
}
})
一直返回TypeError: this.getCallbackIDByFunction is not a function。找了半天也没找到这个错误的原因是什么,求解。
h***@protonmail.com (作者)
官方的模板不会有问题,更奇怪了
2022-04-06 23:24