Skip to content

modal confirm 组件按需引入时,onCancel,onOK 无法正常关闭 #2314

@buildJava

Description

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

Version

1.6.1

Environment

MAC chrome80 ant design vue 1.6.1

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.按需引入组件
2.挂载原型链
3.点击删除按钮
4.点取消或者OK
5.无法正常关闭,控制台报错

What is expected?

能和全组件引入时一样正常关闭

What is actually happening?

无法正常关闭

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