Skip to content

Commit 70cd945

Browse files
authored
Update select.vue
1 parent 0b81fd9 commit 70cd945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/select/src/select.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@
650650
let inputChildNodes = this.$refs.reference.$el.childNodes;
651651
let input = [].filter.call(inputChildNodes, item => item.tagName === 'INPUT')[0];
652652
const tags = this.$refs.tags;
653-
const sizeInMap = this.initialInputHeight;
653+
const sizeInMap = this.initialInputHeight || 40;
654654
input.style.height = this.selected.length === 0
655655
? sizeInMap + 'px'
656656
: Math.max(

0 commit comments

Comments
 (0)