云开发在开发者工具报错(真机调试正常)
- 当前 Bug 的表现(可附上截图)
在 OnLoad中执行:
// 初始化云 wx.cloud.init({ env: 'XXXXXXXX', traceUser: true }); |
开发者工具报错:
thirdScriptErrorCannot read property 'init' of undefined;at "pages/index/index" page lifeCycleMethod onLoad functionTypeError: Cannot read property 'init' of undefined |
但是真机调试没有报错,是可以的。
