小程序建立用户与数据的联系,运行代码后报错如何解决?-灵析社区

猫界袁隆平

db对象没有正确引用,解决方法:在Page()对象前加代码const db=wx.cloud.database()即可以解决。

阅读量:1

点赞量:0

问AI