Skip to content

🐛 [Bug]: 使用upload组件,onChange上传图片后,通过useState设置组件内上传的文件实例后,组件的loading持续存在,且无法关闭 #766

@SakuraWord

Description

@SakuraWord

Which React Vant packages are impacted?

  • react-vant (React Vant core)
  • react-vant-icons(React Vant Icon)

What version of React Vant are you using?

3.3.5

Reproduce live demo(codesandebox or stackblitz)?

No response

Descripition

使用upload组件,onChange上传图片后,通过useState设置组件内上传的文件实例后,组件的loading持续存在,且无法关闭

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions