友善
友善
  • 发布:2019-09-18 20:47
  • 更新:2019-09-18 20:48
  • 阅读:907

#插件讨论# 【 mescroll -支持uni-app的下拉刷新上拉加载组件 - wenju 】支付宝小程序中报错

分类:uni-app
setClientHeight: function() {  
                            var o = this;  
                            0 !== this.mescroll.getClientHeight(!0) || this.isExec || (this.isExec = !0, this.$nextTick(function() {  
                                var n = t.createSelectorQuery().in(o).select("#" + o.viewId);  
                                n.boundingClientRect(function(t) {  
                                    o.isExec = !1, t ? o.mescroll.setClientHeight(t.height) : 3 != o.clientNum && (o.clientNum = null ==  
                                        o.clientNum ? 1 : o.clientNum + 1, setTimeout(function() {  
                                            o.setClientHeight()  
                                        }, 100 * o.clientNum))  
                                }).exec()  
                            }))  
                        }  
                    },

这段代码是转成支付宝小程序后编译成的,在控制台里这里报错 t is not a function;是什么原因呀

2019-09-18 20:47 负责人:无 分享
已邀请:
友善

友善 (作者) - 小程序员

报错

该问题目前已经被锁定, 无法添加新回复