Skip to content

PullToRefresh 下拉刷新能否通过外部控制loading #5653

@mnm1001

Description

@mnm1001

Version of antd-mobile

5.22

Operating system and its version

Android

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

PullToRefresh 在触发 父组件render时 会导致 下拉框立即回弹, 并且refetch的回调函数因为一些原因无法使用promise返回, 所以请问有办法通过外部控制loading状态吗

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions