Closed coding-ice closed 3 months ago
@afc163 佬,有空review一下~
给extra加了一个cls
选中它,不然css好像都会有点问题,因为都能自定义传入Node
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.59%. Comparing base (
526a924
) to head (8eedde2
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
items={[{
label: <><span>内容</span><span>内容</span><>,
extra: 'extra',
}]}
这种情况好像渲染还是会不太对。
原来是justify-content: space-between
,已经改为margin-left: auto
了,extra
的左边距让它自适应,应该就可以避免这个问题了,效果图如下:
哦,还有 README 里要补一下文档。
https://github.com/ant-design/ant-design/issues/49127