微信小程序
revealSkirt
这个作者很懒,什么都没留下…
展开
-
微信小程序 调用时 方法未被定义
可能是调用方法时 未使用this正确写法// 初始化 this.init(options.id)原创 2017-07-30 10:40:44 · 6701 阅读 · 0 评论 -
微信小程序函数中有wx.request 返回值为undefined 因为request是异步请求
exchangeRequest: function (discountId, userId) { var msg = '' wx.request({ url: 'http://localhost/servlet.ExchangeDiscount?userId=' + userId + '&discountId=' + discountId, // 回调成功原创 2017-08-23 07:34:17 · 11499 阅读 · 3 评论