Closed RSS1102 closed 1 year ago
fetch
to achieve the touchBottom
requirement, and their logics are the same, but fetch
feels more comfortable as the property name.touchBottomDistance
doesn't seem to be necessary. The original intention is to trigger the loading
state and request data when reaching the bottom. So, having the loading
state triggered when reaching the bottom is sufficient.needFetch
prop is provided.The overall solution is in the beta
version for trial. Let's try it out first, and if there are any issues, we can discuss further🐶
fetch
来实现touchBottom
的需求,并且他们的逻辑也是相同的,不过感觉fetch
这个属性名更舒服点;touchBottomDistance
感觉没什么需要的场景,本意就是触及底部后loading
然后请求数据,那其实只要触底后loading
状态就好了;needFetch
prop;整体方案是一个beta
版本,先试用一下,有什么问题再讨论🐶
Requirement: Multiple fixed data requests can be made using the
Select
component.Implementation:
touchBottom
that is triggered when it bottoms out - used to customize events for users when it bottoms out. (Optional)touchBottomDistance
- used to allow users to customize the bottom distance and include a default distance. (Optional)