Skip to content

使用Modal.method()创建的Modal,closable属性不生效 #3630

@ghost

Description

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

Version

1.7.2

Environment

Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36" Vue: 2.6.11

Reproduction link

https://github.com/NightMoom/ant-bug-report

Steps to reproduce

import { Modal } from "ant-design-vue";

this.modal = Modal.success({

title: opts.title,

width: opts.width,

icon: "compass",

closable: true // 右上角关闭按钮

});

What is expected?

modal能正常显示右上角关闭按钮

What is actually happening?

closable不能生效

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