var reqTask = wx.request({
url: 'http://192.168.14.41:3000/search?keywords=你',
data: {},
header: {'content-type':'application/json'},
method: 'GET',
dataType: 'json',
success: (result)=>{
console.log(result)
},
});
mvvm
m---http请求来的数据
v---view渲染到视图上
vm viewModel--视图数据对象