Skip to content

Upload组件 listType="picture-card" showUploadList="false" disabled 上传按钮一直存在的bug #8190

Open
@codelo-99

Description

@codelo-99
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击切换禁用按钮, 当disabled为true时, 查看 showUploadList为true和为false的差异, showUploadList为false时会一直展示上传按钮(bug).

What is expected?

disabled状态下, showUploadList为false时不展示上传区域按钮(与showUploadList为true时表现一致)

What is actually happening?

disabled状态下, showUploadList为false时. 上传区域按钮还在展示

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions