![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
微信小程序
ligongdao
这个作者很懒,什么都没留下…
展开
-
微信小程序-获取云数据库某集合数据并显示在页面
首先要在需要获取并显示数据的page的js文件中使用如下代码获取数据://云数据库初始化const db = wx.cloud.database({});const cont = db.collection('river_data');Page({ data:{ ne:[], //这是一个空的数组,等下获取到云数据库的数据将存放在其中 }, /**...转载 2019-12-24 15:58:26 · 4006 阅读 · 3 评论 -
小程序问题记录:小程序云开发获取不到数据库的记录
数据库新建的collectioin需要设置权限,没有问题就可以读取和更新了转载 2019-12-24 15:20:46 · 289 阅读 · 1 评论 -
微信小程序 this that
为什么用 let that = this;https://edu.csdn.net/course/play/9604/282654第六章:借助云存储实现自己的图片管理后台4-7获取图片列表json数据并解析到列表有讲转载 2019-12-24 14:40:12 · 160 阅读 · 0 评论 -
微信小程序this的坑和微信小程序中this关键字使用技巧和微信小程序中的this指向问题(转载)
微信小程序this的坑https://blog.csdn.net/qq_27617675/article/details/82457666微信小程序中this关键字使用技巧https://blog.csdn.net/qq_33956478/article/details/81348453微信小程序中的this指向问题https://blog.csdn.net/liy...转载 2019-12-23 18:05:36 · 702 阅读 · 0 评论