From 902e61598e65e281ca77d4504de49388f6194100 Mon Sep 17 00:00:00 2001 From: lihang Date: Thu, 17 Sep 2020 17:57:25 +0800 Subject: [PATCH] =?UTF-8?q?fix(checkbox):=20=E4=B8=8A=E6=AC=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9checkbox=E6=A0=B7=E5=BC=8F=E6=94=B9=E7=9A=84=E5=9C=B0?= =?UTF-8?q?=E6=96=B9=E4=B8=8D=E5=AF=B9,fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit affects: @gio-design/components --- packages/components/src/components/checkbox/style/index.less | 4 ++-- packages/components/src/components/tag/interface.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/components/src/components/checkbox/style/index.less b/packages/components/src/components/checkbox/style/index.less index c2567c157e..32fd4ddd0f 100644 --- a/packages/components/src/components/checkbox/style/index.less +++ b/packages/components/src/components/checkbox/style/index.less @@ -63,7 +63,7 @@ } } - &-indeterminate { + .gio-icon&-indeterminate { display: none; } } @@ -132,7 +132,7 @@ } } - .gio-icon&-indeterminate { + &-indeterminate { .@{checkbox-inner-prefix-cls} { &::after { transform: scale(1); diff --git a/packages/components/src/components/tag/interface.ts b/packages/components/src/components/tag/interface.ts index 59e82eb962..ef0615228c 100644 --- a/packages/components/src/components/tag/interface.ts +++ b/packages/components/src/components/tag/interface.ts @@ -9,5 +9,5 @@ export interface TagProps { onClose?: (e: React.MouseEvent) => void; customizePrefixCls?: string; children: React.ReactNode; - className: string; + className?: string; }