html52.com
我爱小程序-开发者交流社区

云开发这中问题怎么处理?

框架类型 问题类型 终端类型 AppID 环境ID 基础库版本
小程序 Bug 工具 wxc28bea4f0e90039a xjtrval-fz3fe 2.0.4

Cannot read property 'init' of undefined;at App lifeCycleMethod onLaunch function

TypeError: Cannot read property 'init' of undefined

    at e.onLaunch (http://127.0.0.1:40755/appservice/app.js:8:14)

    at e.o (http://127.0.0.1:40755/appservice/__dev__/WAService.js:18:31681)

    at new e (http://127.0.0.1:40755/appservice/__dev__/WAService.js:19:1048)

    at Function.<anonymous> (http://127.0.0.1:40755/appservice/__dev__/WAService.js:19:1537)

    at http://127.0.0.1:40755/appservice/__dev__/WAService.js:18:12486

    at http://127.0.0.1:40755/appservice/app.js:5:1

    at require (http://127.0.0.1:40755/appservice/__dev__/WAService.js:19:7304)

    at <anonymous>:1:1

    at doWhenAllScriptLoaded (http://127.0.0.1:40755/appservice/appservice?t=1588310919195:1407:21)

    at HTMLScriptElement.scriptLoaded (http://127.0.0.1:40755/appservice/appservice?t=1588310919195:1419:5)


Uncaught TypeError: Cannot read property 'database' of undefined

    at fav.js? [sm]:2

    at require (VM333 WAService.js:19)

    at <anonymous>:62:7

    at doWhenAllScriptLoaded (appservice?t=1588310919195:1407)

    at HTMLScriptElement.scriptLoaded (appservice?t=1588310919195:1419)

    at HTMLScriptElement.script.onload (appservice?t=1588310919195:1427)

这怎么解决啊


网友回复

binnie smile:

亮代码可以吗,谢谢配合,节省大家时间

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付