React component pull down refresh and pull up load more
if(this.defaultConfig.container === document.body){ return document.documentElement.scrollTop || document.body.scrollTop; }
增加判断条件,只有当状态未 loading 时才显示 即loading图标 commit
修改demo,明确如何实现无更多内容之后的逻辑
(方式一:可以再次尝试加载更多 demo1;方式二:不再执行加载更多 demo3)。