Skip to content

[BUG] Upload component default display: none is not displayed and the DOM structure and style are wrong #5294

@1014156094

Description

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

Version

3.0.0-beta.10

Environment

系统:win11,浏览器:360急速浏览器内核chrome 86,Vue:3.2.31

Reproduction link

Edit on CodeSandbox

Steps to reproduce

https://codesandbox.io/embed/flamboyant-heyrovsky-3zmwip?fontsize=14&hidenavigation=1&theme=dark

What is expected?

和文档效果一致 https://next.antdv.com/components/upload-cn#API

What is actually happening?

【BUG】Upload 组件默认 display: none 不显示并且 DOM 结构和样式不对

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions