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