mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Select: fix variable error
This commit is contained in:
@@ -497,8 +497,8 @@
|
||||
let input = [].filter.call(inputChildNodes, item => item.tagName === 'INPUT')[0];
|
||||
const tags = this.$refs.tags;
|
||||
input.style.height = this.selected.length === 0
|
||||
? sizeMap[this.selectSize] + 'px'
|
||||
: Math.max(tags ? (tags.clientHeight + 6) : 0, sizeMap[this.selectSize] || 36) + 'px';
|
||||
? sizeMap[this.size] + 'px'
|
||||
: Math.max(tags ? (tags.clientHeight + 6) : 0, sizeMap[this.size] || 36) + 'px';
|
||||
if (this.visible && this.emptyText !== false) {
|
||||
this.broadcast('ElSelectDropdown', 'updatePopper');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user