diff --git a/components/_util/wave.tsx b/components/_util/wave.tsx index d60574dd26..3642555fd5 100644 --- a/components/_util/wave.tsx +++ b/components/_util/wave.tsx @@ -18,6 +18,9 @@ export default class Wave extends React.Component<{insertExtraNode?: boolean}> { } onClick = (node: HTMLElement) => { + if (node.className.indexOf('-leave') >= 0) { + return; + } this.removeExtraStyleNode(); const { insertExtraNode } = this.props; const extraNode = document.createElement('div'); diff --git a/components/tag/index.tsx b/components/tag/index.tsx index 569967ffa0..6cd8b6fa6b 100644 --- a/components/tag/index.tsx +++ b/components/tag/index.tsx @@ -142,17 +142,17 @@ class Tag extends React.Component { ); return ( - - + + {tag} - - + + ); } }