update Tag

This commit is contained in:
梁灏 2017-10-26 11:57:24 +08:00
parent 2993f4eec3
commit 2079c47bb3
3 changed files with 45 additions and 13 deletions

View file

@ -51,7 +51,7 @@
return [
`${prefixCls}`,
{
[`${prefixCls}-${this.color}`]: !!this.color && (this.checkable && this.isChecked),
[`${prefixCls}-${this.color}`]: !!this.color,
[`${prefixCls}-${this.type}`]: !!this.type,
[`${prefixCls}-closable`]: this.closable,
[`${prefixCls}-checked`]: this.isChecked

View file

@ -21,6 +21,10 @@
&:not(&-border):not(&-dot):not(&-checked){
background: transparent;
border: 0;
color: @text-color;
.@{tag-close-prefix-cls} {
color: @text-color !important;
}
}
&-dot{