收藏
回答

this.setData 出错不知道为什么!

WAService.js:3 thirdScriptError

this.setData is not a function;at pages/cml/cml onReady function;at api request success callback function

TypeError: this.setData is not a function

    at success (http://228513772.appservice.open.weixin.qq.com/pages/cml/cml.js:218:20)

    at Object.success (http://228513772.appservice.open.weixin.qq.com/WAService.js:3:7592)

    at s.<anonymous> (http://228513772.appservice.open.weixin.qq.com/WAService.js:7:18056)

    at s.emit (http://228513772.appservice.open.weixin.qq.com/WAService.js:5:9280)

    at .<anonymous> (http://228513772.appservice.open.weixin.qq.com/WAService.js:7:19381)

    at http://228513772.appservice.open.weixin.qq.com/WAService.js:4:21365

    at n.<anonymous> (http://228513772.appservice.open.weixin.qq.com/asdebug.js:1:12560)

    at n.emit (http://228513772.appservice.open.weixin.qq.com/asdebug.js:1:8652)

    at callback (http://228513772.appservice.open.weixin.qq.com/asdebug.js:1:19911)

    at o (http://228513772.appservice.open.weixin.qq.com/asdebug.js:1:17098)


回答关注问题邀请回答
收藏

3 个回答

  • 追小命
    追小命
    2017-07-29

    理解下什么是this的scope

    2017-07-29
    有用
    回复
  • 小蕾
    小蕾
    2017-07-28

    不明白

    2017-07-28
    有用
    回复
  • 追小命
    追小命
    2017-07-28

    request里的this不是page的this。基本js功底啊。

    2017-07-28
    有用
    回复
登录 后发表内容