We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.0.0-rc.4
Windows、Linux
https://2x.antdv.com/components/notification-cn/#components-notification-demo-custom-close-button
打开官网 https://2x.antdv.com/components/notification-cn/#components-notification-demo-custom-close-button ,点击示例自定义按钮未生效
正确的样式
返回了函数本身
The text was updated successfully, but these errors were encountered:
在 2.0 的代码中缺乏了对函数的判断,导致官网发生该问题
我尝试直接在 h 方法中使用 a-button 会丢失样式,详情见 https://codesandbox.io/s/fhb9l?file=/src/App.vue
a-button
而如果在 h 方法中直接使用 Button 则可以正确展示,详情 https://codesandbox.io/s/0mk3r?file=/src/App.vue
Button
Sorry, something went wrong.
Duplicate of #3324
about h('a-button') , refernence: vuejs/core#1927 (comment)
h('a-button')
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.
No branches or pull requests
Version
2.0.0-rc.4
Environment
Windows、Linux
Reproduction link
https://2x.antdv.com/components/notification-cn/#components-notification-demo-custom-close-button
Steps to reproduce
打开官网 https://2x.antdv.com/components/notification-cn/#components-notification-demo-custom-close-button ,点击示例自定义按钮未生效
What is expected?
正确的样式
What is actually happening?
返回了函数本身
The text was updated successfully, but these errors were encountered: