diff --git a/components/tag/__tests__/__snapshots__/demo.test.js.snap b/components/tag/__tests__/__snapshots__/demo.test.js.snap index 3dc2002e04..10433041bf 100644 --- a/components/tag/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tag/__tests__/__snapshots__/demo.test.js.snap @@ -482,17 +482,17 @@ Array [ class="ant-tag" > Tag1 -
关 闭 -
+ , Tag2 -
-
+
, ] `; diff --git a/components/tag/index.tsx b/components/tag/index.tsx index 674c8cf07f..4130fe7e28 100644 --- a/components/tag/index.tsx +++ b/components/tag/index.tsx @@ -102,9 +102,9 @@ const InternalTag: React.ForwardRefRenderFunction = ( const renderCloseIcon = () => { if (closable) { return closeIcon ? ( -
+ {closeIcon} -
+ ) : ( );