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 = [] }