mirror of https://github.com/ElemeFE/element
* fix dropdown style * fix autocomplete dropdown positionpull/2887/head
parent
59de02e3cd
commit
7f6d698f72
|
@ -66,6 +66,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
updated() {
|
||||||
|
this.$nextTick(_ => {
|
||||||
|
this.updatePopper();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
this.popperElm = this.$el;
|
this.popperElm = this.$el;
|
||||||
this.referenceElm = this.$parent.$refs.input.$refs.input;
|
this.referenceElm = this.$parent.$refs.input.$refs.input;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
@b autocomplete-suggestion {
|
@b autocomplete-suggestion {
|
||||||
margin: 5px 0 0;
|
margin: 5px 0;
|
||||||
box-shadow: 0 0 6px 0 rgba(0,0,0,0.04), 0 2px 4px 0 rgba(0,0,0,0.12);
|
box-shadow: 0 0 6px 0 rgba(0,0,0,0.04), 0 2px 4px 0 rgba(0,0,0,0.12);
|
||||||
|
|
||||||
@e wrap {
|
@e wrap {
|
||||||
|
|
Loading…
Reference in New Issue