-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
解决自定义组件(button的封装) 使用enterButton参数时,重复嵌套一层button导致样式问题
What does the proposed API look like?
我发现使用了ant-design自带的a-button不会出现嵌套button标签,而使用其他标签,包括自定义组件标签,会导致强行嵌套一层button标签,即使自定义标签名称为a-button。能否识别 在使用slot="enterButton"时的自定义组件是a-button封装(btn封装)的情况,减少嵌套重复button标签导致样式问题。