ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

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

Open codelo-99 opened this issue 5 months ago • 0 comments
trafficstars

  • [x] 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时. 上传区域按钮还在展示

codelo-99 avatar May 22 '25 10:05 codelo-99