diff --git a/vue/element-ui-personal/components/Select/Select.vue b/vue/element-ui-personal/components/Select/Select.vue index 49f1a92..114339e 100644 --- a/vue/element-ui-personal/components/Select/Select.vue +++ b/vue/element-ui-personal/components/Select/Select.vue @@ -589,7 +589,6 @@ }, resetInputHeight() { - if (!this.filterable) return this.$nextTick(() => { if (!this.$refs.reference) return let inputChildNodes = this.$refs.reference.$el.childNodes diff --git a/vue/src/views/example/components/treeSelectExample.vue b/vue/src/views/example/components/treeSelectExample.vue index 69f4625..374ff55 100644 --- a/vue/src/views/example/components/treeSelectExample.vue +++ b/vue/src/views/example/components/treeSelectExample.vue @@ -1,6 +1,10 @@ @@ -14,7 +18,8 @@ data() { return { - value: [], + single: '', + multiple: [], data: [ {id: 1, label: '一级 1', children: [{id: 2, label: '二级 1-1'}, {id: 3, label: '二级 1-2'}]}, {id: 4, label: '一级 2', children: [{id: 5, label: '二级 2-1'}]},