Browse Source

fix(tag): prefixCls value (#4649)

pull/4655/head
gitplus 3 years ago committed by GitHub
parent
commit
2ce3f44403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/tag/index.tsx

4
components/tag/index.tsx

@ -86,11 +86,11 @@ const Tag = defineComponent({
const renderCloseIcon = () => {
if (closable) {
return closeIcon ? (
<div class={`${prefixCls}-close-icon`} onClick={handleCloseClick}>
<div class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
{closeIcon}
</div>
) : (
<CloseOutlined class={`${prefixCls}-close-icon`} onClick={handleCloseClick} />
<CloseOutlined class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick} />
);
}
return null;

Loading…
Cancel
Save