feat: tag support icon slot (#3185)
parent
210dadc93c
commit
bc03b6ede2
|
@ -80,7 +80,7 @@ const Tag = defineComponent({
|
||||||
return () => {
|
return () => {
|
||||||
const {
|
const {
|
||||||
prefixCls: customizePrefixCls,
|
prefixCls: customizePrefixCls,
|
||||||
icon,
|
icon = slots.icon?.(),
|
||||||
color,
|
color,
|
||||||
closeIcon = slots.closeIcon?.(),
|
closeIcon = slots.closeIcon?.(),
|
||||||
closable = false,
|
closable = false,
|
||||||
|
|
Loading…
Reference in New Issue