比如在wx.request请求中 请求成功回调里 调用this.setData就出问题 setData of undefined 一般是this的问题 先声明一个变量 var this1 = this; 然后this1.setData就可以了