刚开始学习的小白,这是什么原因啊?
wx-Page({
data: {
//轮播图数组
swiperList:[]
},
onLoad: function (options) {
//发送异步请求获取轮播图数据
var reqTask = wx.request({
url: 'https://api-hmugo-web.itheima.net/api/public/v1/my/orders/all',
success: (result) => {
console.log(result)
},
});
},
})