-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
feat: support extra option #734
Conversation
@afc163 佬,有空review一下~ |
assets/index.less
Outdated
|
||
&-item { | ||
display: flex; | ||
justify-content: space-between; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items={[{
label: <><span>内容</span><span>内容</span><>,
extra: 'extra',
}]}
这种情况可能会有问题。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个问题依旧存在。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label 也得包一下。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
label 也得包一下。
这个,应该不能包裹,如果有用户使用子集选择器会出现问题
items={[{
label: <p>内容</p>,
extra: 'extra',
}]}
render:
<span><p>内容</p></span>
/* 失效 */
> p {
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
佬,这个麻烦再看一眼,感觉应该没啥问题了~
Co-authored-by: afc163 <[email protected]>
给extra加了一个 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #734 +/- ##
=======================================
Coverage 99.59% 99.59%
=======================================
Files 27 27
Lines 734 736 +2
Branches 200 202 +2
=======================================
+ Hits 731 733 +2
Misses 3 3 ☔ View full report in Codecov by Sentry. |
这种情况好像渲染还是会不太对。 |
哦,还有 README 里要补一下文档。 |
ant-design/ant-design#49127