小程序云数据库踏坑第一步

如果新建小程序用的云数据库  完了报错  cloud init error: {errMsg: "operateWXData:fail invalid scope"

别急,1. 在login/index.js加一句:

wx.cloud.init()

如果不行

2.在apps.json里加一句

"cloud":"true"

猜你喜欢

转载自www.cnblogs.com/longhun/p/10225924.html