fix cascader style bug (#3877)

pull/3906/head
baiyaaaaa 2017-03-30 11:29:39 +08:00 committed by cinwell.li
parent 47f72baa42
commit 262ac629a2
2 changed files with 1 additions and 3 deletions

View File

@ -319,6 +319,7 @@ export default {
if (this.disabled) return;
if (this.filterable) {
this.menuVisible = true;
this.$refs.input.$refs.input.focus();
return;
}
this.menuVisible = !this.menuVisible;

View File

@ -7,13 +7,10 @@
@b cascader {
display: inline-block;
position: relative;
background-color: transparent;
.el-input,
.el-input__inner {
cursor: pointer;
background-color: #fff;
z-index: var(--index-normal);
}
.el-input__icon {