From 4022124b2d8ea5ed5744acd88e3c390f4afa2004 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 30 Aug 2022 16:12:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF-=E6=A0=91?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E5=99=A8):=20=E5=85=A8=E5=B1=8F=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=A0=91=E8=BF=87=E6=BB=A4=E5=99=A8=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/ElTreeSelect/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/ElTreeSelect/index.vue b/frontend/src/components/ElTreeSelect/index.vue index b94e91d902..4311d0f374 100644 --- a/frontend/src/components/ElTreeSelect/index.vue +++ b/frontend/src/components/ElTreeSelect/index.vue @@ -20,8 +20,8 @@ @clear="_selectClearFun" @focus="_popoverShowFun" /> - - + +

{{ $t('dataset.check_all') }}

@@ -229,6 +229,11 @@ export default { off(document, 'mouseup', this._popoverHideFun) }, methods: { + showPopover() { + this.$nextTick(() => { + this.$refs.input.focus() + }) + }, resetSelectAll() { this.selectAll = false },