wx.request里htis.setData({})赋值只能在wx.request里获取到 出去这个方法就获取为空 忽然就这样 什么鬼玩意 求指教
htis.setData({})无效?htis.setData({}) is invalid?
htis.setData({})无效?wx.request里htis.setData({})赋值只能在wx.request里获取到 出去这个方法就获取为空 忽然就这样 什么鬼玩意 求指教
wx.request in htis.setData ({}) assignments can only be made in wx.request Get out of this method to get empty, all of a sudden, what kind of ghost for advice
回答:
在你这个“wx.request”外面,var that = this;
然后“wx.request”里面,that.setData...
htis?????
有没有兴趣截个图或提供一下代码片段看看
原文出处:htis.setData({})无效?