From d899ba3529a1f50bb30b0e770547a65a1f328324 Mon Sep 17 00:00:00 2001 From: xwder Date: Thu, 23 Dec 2021 16:36:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9sc-table-select=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E4=B8=BB=E5=8A=A8=E8=A7=A6=E5=8F=91=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=92=8C=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scTableSelect/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/scTableSelect/index.vue b/src/components/scTableSelect/index.vue index 5957d5e9..528a133a 100644 --- a/src/components/scTableSelect/index.vue +++ b/src/components/scTableSelect/index.vue @@ -207,6 +207,14 @@ } this.keyword = keyword; this.getData() + }, + // 触发select隐藏 + blur(){ + this.$refs.select.blur(); + }, + // 触发select显示 + focus(){ + this.$refs.select.focus(); } }