获取所有已发现的蓝牙设备 wx.getBluetoothDevices时报错
发布于 6 年前 作者 ugao 19204 次浏览 来自 问答

Cannot read property ‘map’ of undefined…

onShow function api getBluetoothDevices success callback function

TypeError:Cannot read property ‘map’ of undefined

请高手指点

1 回复

getBluetoothDevices的成功回调函数中使用了没有定义的变量,检查一下map这个变量有没有定义

回到顶部