收藏
回答

求助》》》调试时老是报这样的错误。搞了我好久都没解决。

问题模块
API和组件

WAService.js:3 thirdScriptError

You need to call AV.initialize before using AV.;at "pages/my/index" page lifeCycleMethod onShow function

Error: You need to call AV.initialize before using AV.

    at Object.a._getAVPath (http://1757442099.appservice.open.weixin.qq.com/utils/av-weapp.js:714:37)

    at current (http://1757442099.appservice.open.weixin.qq.com/utils/av-weapp.js:2687:410)

    at e.onShow (http://1757442099.appservice.open.weixin.qq.com/pages/my/index.js:34:24)

    at e.<anonymous> (http://1757442099.appservice.open.weixin.qq.com/WAService.js:7:30348)

    at A (http://1757442099.appservice.open.weixin.qq.com/WAService.js:7:18788)

    at E (http://1757442099.appservice.open.weixin.qq.com/WAService.js:7:20212)

    at j (http://1757442099.appservice.open.weixin.qq.com/WAService.js:7:20592)

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

    at http://1757442099.appservice.open.weixin.qq.com/WAService.js:7:27113

    at http://1757442099.appservice.open.weixin.qq.com/WAService.js:4:17537


最后一次编辑于  2017-06-15  (未经腾讯允许,不得转载)
回答关注问题邀请回答
收藏

3 个回答

  • Wo
    Wo
    2017-06-15

    嗯,好像就是这样的。谢谢@ekong

    2017-06-15
    赞同
    回复
  • ekong
    ekong
    2017-06-15


    你应该是用了LeanCloud的SDK吧,看这个,你应该是没有按这个说明文档进行初始化吧?

    2017-06-15
    赞同
    回复
  • Miller.Lin
    Miller.Lin
    2017-06-15

    说你没有初始化对象

    2017-06-15
    赞同
    回复