[求助]小程序运动数据如何获取?取数组为空

发布于 8 年前作者 likong13550 次浏览最后编辑 8 年前来自 ask

wx.request({

            url: “https://applinzi.com/api”,

            header: {

              ‘content-type’: ‘application/json’

            },

            data: {

              sessionKey: that.data.session,

              iv: that.data.iv,

              encryptedData: that.data.encryptedData

            },

            success: function (res) {

              console.log(res.data);

              that.setData({

                step: res.data

              });

              console.log(that.data.step.stepInfoList);

            }

          })

__ console.log(that.data.step.stepInfoList);__


求助,js小白一个

0 回复
暂无回复