![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
钉钉
渣女园
乱碰乱撞
展开
-
钉钉小程序tree 递归
我有个问题不懂,钉钉小程序创建后,为什么在pages里创建的组件不能使用,反而得创建到node_modules里才能使用,是漏了哪一步?mytree就是加的组件,为什么呢?言归正传当然,第一步是创建自定义组件,钉钉里讲的就很详细https://developers.dingtalk.com/document/app/development-processhtml<view class="a-collapse"> <view class="a-collapse-title" o原创 2021-08-10 11:27:12 · 502 阅读 · 0 评论 -
钉钉小程序的下拉刷新h和上拉加载,web-view组件使用
//下拉刷新 onPullDownRefresh() { this.data.pageIndex = 1; this.getList(); }, //下拉刷新需在请求结束后停止刷新 my.stopPullDownRefresh({ complete(res) { // console.log(res, new Date()) } })//上拉加载 onReachBottom() { this.data.pa原创 2021-08-10 11:38:09 · 1037 阅读 · 0 评论