Skip to content

Modal 可以新增一个全属性的内置扩展方法吗? #6491

@JHeLiu

Description

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

What problem does this feature solve?

https://www.antdv.com/components/modal-cn#components-modal-demo-manual

目前已经提供了

Modal.info
Modal.success
Modal.error
Modal.warning
Modal.confirm

这些内置的方法。
我想有没有类似于使用组件那种齐全的参数,我想用它弹出一个复杂的 vue内容
Modal.open 或者 Modal.open.create({})

What does the proposed API look like?

Modal.open({})
or
Modal.create({})

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions