mirror of https://github.com/ElemeFE/element
fix cascader style bug (#3877)
parent
47f72baa42
commit
262ac629a2
|
@ -319,6 +319,7 @@ export default {
|
||||||
if (this.disabled) return;
|
if (this.disabled) return;
|
||||||
if (this.filterable) {
|
if (this.filterable) {
|
||||||
this.menuVisible = true;
|
this.menuVisible = true;
|
||||||
|
this.$refs.input.$refs.input.focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.menuVisible = !this.menuVisible;
|
this.menuVisible = !this.menuVisible;
|
||||||
|
|
|
@ -7,13 +7,10 @@
|
||||||
@b cascader {
|
@b cascader {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
.el-input,
|
.el-input,
|
||||||
.el-input__inner {
|
.el-input__inner {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: #fff;
|
|
||||||
z-index: var(--index-normal);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-input__icon {
|
.el-input__icon {
|
||||||
|
|
Loading…
Reference in New Issue