cube-ui icon indicating copy to clipboard operation
cube-ui copied to clipboard

[New Feature] scroll组件的forceUpdate方法,期望增加参数,用于区别本次操作是针对上拉还是下拉

Open wj20160318 opened this issue 6 years ago • 1 comments

What problem does this feature solve?

当上拉和下拉都处于loading状态时,如果调用forceUpdate,会只处理下拉的情况而忽略上拉,因为该方法使用的是if..else if...来判断。 希望增加参数,来让使用者区分。

What does the proposed API look like?

wj20160318 avatar Sep 25 '19 16:09 wj20160318

看了下 应该不是用参数判断,改为不是else if 的方式可能会好点

dolymood avatar Oct 12 '19 03:10 dolymood