From 55f1a40b85a5b8c03182f08accb856f56defc82c Mon Sep 17 00:00:00 2001 From: Jinke Li Date: Thu, 17 Oct 2024 10:04:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=8B=E9=92=BB=20i?= =?UTF-8?q?con=20=E4=B8=8D=E5=BA=94=E8=AF=A5=E9=BB=98=E8=AE=A4=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E5=B1=95=E7=A4=BA=E5=92=8C=E6=A0=87=E9=A2=98=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98=20(#2925)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 修复下钻 icon 不应该默认全部展示 * fix: 修复下钻面板标题不展示 * fix: 移除 extra dom 节点 * test: 更新快照 * test: 更新快照 --- .../components/drill-down/__snapshots__/index-spec.tsx.snap | 6 +----- packages/s2-react/playground/drill-down.tsx | 2 +- packages/s2-react/src/components/drill-down/index.tsx | 2 +- .../unit/utils/__snapshots__/drill-down-spec.ts.snap | 2 +- packages/s2-shared/src/styles/drill-down.less | 6 +----- packages/s2-shared/src/utils/drill-down.ts | 2 +- 6 files changed, 6 insertions(+), 14 deletions(-) diff --git a/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap b/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap index f59965b5f9..df113f3937 100644 --- a/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap +++ b/packages/s2-react/__tests__/unit/components/drill-down/__snapshots__/index-spec.tsx.snap @@ -66,11 +66,6 @@ exports[`DrillDown Component Tests should render component 1`] = ` -
- extra -
@@ -144,6 +139,7 @@ exports[`DrillDown Component Tests should render component 1`] = ` No data
+ extra