Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
ghost opened this issue Feb 2, 2021 · 1 comment
Closed
1 task

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

ghost opened this issue Feb 2, 2021 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Feb 2, 2021

  • 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不能生效

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant