mirror of https://github.com/ElemeFE/element
parent
1394ed5e76
commit
b0aae6d27d
|
@ -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