未验证 提交 2a55d54c 编写于 作者: 云淇淋 提交者: GitHub

Merge pull request #1251 from sculiaojin/master

修复使用rem布局checkBottomReached不能正确校验单个列表元素小数高度而导致的不能上拉问题
......@@ -268,7 +268,7 @@
*/
return document.documentElement.scrollTop || document.body.scrollTop + document.documentElement.clientHeight >= document.body.scrollHeight;
} else {
return this.$el.getBoundingClientRect().bottom <= this.scrollEventTarget.getBoundingClientRect().bottom + 1;
return parseInt(this.$el.getBoundingClientRect().bottom) <= parseInt(this.scrollEventTarget.getBoundingClientRect().bottom) + 1;
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册