health.getLastWeekSteps({ success: function(data) { for (const i in data.stepsList) { console.log( `handling success date: ${data.stepsList[i].date} steps: ${ data.stepsList[i].steps }` ) } }, fail: function(data, code) { console.log(`handling fail, code = ${code}, errorMsg=${data}`) } }) 在模拟器上有数据, 在真机小米。vivo上获取不到 返回1001错误码,怎么解决啊,手机已经同意获取步数了 |