Skip to content

Modal组件的title插槽无法覆盖title属性设置 #8212

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

Open
1 task
giserman001 opened this issue May 30, 2025 · 1 comment
Open
1 task

Modal组件的title插槽无法覆盖title属性设置 #8212

giserman001 opened this issue May 30, 2025 · 1 comment

Comments

@giserman001
Copy link

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

Version

4.2.6

Environment

最新谷歌浏览器/vue3.5

Reproduction link

https://www.antdv.com/components/modal-cn

Steps to reproduce

Modal组件的title插槽和title属性一起使用

What is expected?

title插槽可以覆盖title属性设置

What is actually happening?

title属性设置覆盖了title插槽

@giserman001
Copy link
Author

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant