Skip to content

Invalid prop: type check failed for prop "onRemove". Expected Function, got Array #7832

@huangmingfu

Description

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

Version

4.2.3

Environment

mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/128.0.0.0 safari/537.36

Reproduction link

[Edit on CodeSandbox](https://codesandbox.io/embed/9lklg8?view=editor %2B preview&module=%2Fsrc%2Fdemo.vue&expanddevtools=1)

Steps to reproduce

二次封装upload组件,传入的onRemove可以覆盖内部写的onRemove

What is expected?

二次封装upload组件,传入的onRemove可以覆盖内部写的onRemove

What is actually happening?

二次封装upload组件,传入的onRemove可以覆盖内部写的onRemove

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