Skip to content

Commit

Permalink
fix: 移除 extra dom 节点
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Oct 14, 2024
1 parent e7a642c commit 68fc0e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s2-react/src/components/drill-down/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,13 @@ export const DrillDown: React.FC<DrillDownProps> = React.memo(
prefix={<SearchIcon />}
allowClear
/>
<div className={`${DRILL_DOWN_PRE_CLASS}-extra`}>{extra}</div>
{isEmpty(options) && (
<Empty
imageStyle={{ height: '64px' }}
className={`${DRILL_DOWN_PRE_CLASS}-empty`}
/>
)}
{extra}
<Menu
className={`${DRILL_DOWN_PRE_CLASS}-menu`}
selectedKeys={drillFields}
Expand Down

0 comments on commit 68fc0e8

Please sign in to comment.