fix(tag): prefixCls value (#4649)
parent
752642afaf
commit
2ce3f44403
|
@ -86,11 +86,11 @@ const Tag = defineComponent({
|
||||||
const renderCloseIcon = () => {
|
const renderCloseIcon = () => {
|
||||||
if (closable) {
|
if (closable) {
|
||||||
return closeIcon ? (
|
return closeIcon ? (
|
||||||
<div class={`${prefixCls}-close-icon`} onClick={handleCloseClick}>
|
<div class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
|
||||||
{closeIcon}
|
{closeIcon}
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<CloseOutlined class={`${prefixCls}-close-icon`} onClick={handleCloseClick} />
|
<CloseOutlined class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue