From 4d2cf28cc64df7c3418d0cf940aaa4083f750d50 Mon Sep 17 00:00:00 2001 From: toesbieya <1647775459@qq.com> Date: Sun, 26 Jul 2020 00:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=A0=91?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=A4=BA=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/element-ui-personal/components/Select/Select.vue | 1 - .../views/example/components/treeSelectExample.vue | 11 ++++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) 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'}]},