摘要: 写wx.request函数的sucess返回时,需要更改data里面的属性值,this.setData遇到了undefined报错 根据网上博客方法,更改如下: 方法一:设置一个传值变量that 1 onLoad: function (options) { 2 var that=this; //在此 阅读全文
posted @ 2020-03-02 01:29 戴三山 阅读(2868) 评论(0) 推荐(0)