mirror of https://github.com/ElemeFE/element
parent
ca9a0330f8
commit
b4c2570387
|
@ -869,7 +869,8 @@
|
||||||
small: 32,
|
small: 32,
|
||||||
mini: 28
|
mini: 28
|
||||||
};
|
};
|
||||||
this.initialInputHeight = reference.$el.getBoundingClientRect().height || sizeMap[this.selectSize];
|
const input = reference.$el.querySelector('input');
|
||||||
|
this.initialInputHeight = input.getBoundingClientRect().height || sizeMap[this.selectSize];
|
||||||
}
|
}
|
||||||
if (this.remote && this.multiple) {
|
if (this.remote && this.multiple) {
|
||||||
this.resetInputHeight();
|
this.resetInputHeight();
|
||||||
|
|
Loading…
Reference in New Issue