From 6eb87f47be9849b52c8730bf2353a692d0ffc86a Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Thu, 24 Mar 2022 14:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/libraryPush/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jero-web/src/components/libraryPush/index.vue b/jero-web/src/components/libraryPush/index.vue index a9dd5c9c0..1bd1178a2 100644 --- a/jero-web/src/components/libraryPush/index.vue +++ b/jero-web/src/components/libraryPush/index.vue @@ -71,10 +71,9 @@ this.visible = true this.visibleTree = false this.$nextTick(() => { - this.visibleTree = true + this.departId = '' + this.queryDepartUserTreeList() }) - this.departId = '' - this.queryDepartUserTreeList() }, onSelect(selectedKeys) { this.selectedKey = selectedKeys @@ -135,6 +134,7 @@ if (res.success) { this.gData = res.result this.defaultExpandedKeys = [this.departId] + this.visibleTree = true } else { this.gData = [] }