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;是什么原因呀
1 个回复
友善 (作者) - 小程序员
报错