update AutoComplete clearable icon
This commit is contained in:
parent
588161a020
commit
674f7731c2
2 changed files with 4 additions and 3 deletions
|
@ -135,7 +135,7 @@
|
||||||
inputIcon () {
|
inputIcon () {
|
||||||
let icon = '';
|
let icon = '';
|
||||||
if (this.clearable && this.currentValue && !this.disabled) {
|
if (this.clearable && this.currentValue && !this.disabled) {
|
||||||
icon = 'ios-close';
|
icon = 'ios-close-circle';
|
||||||
} else if (this.icon) {
|
} else if (this.icon) {
|
||||||
icon = this.icon;
|
icon = this.icon;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,11 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.@{icon-prefix-cls}-ios-close{
|
.@{icon-prefix-cls}-ios-close-circle{
|
||||||
display: none;
|
display: none;
|
||||||
|
font-size: @font-size-base;
|
||||||
}
|
}
|
||||||
&:hover .@{icon-prefix-cls}-ios-close{
|
&:hover .@{icon-prefix-cls}-ios-close-circle{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
&.@{select-dropdown-prefix-cls} {
|
&.@{select-dropdown-prefix-cls} {
|
||||||
|
|
Loading…
Add table
Reference in a new issue