From 45f7ad6be8a95c82911166a6792704ce50c45b7e Mon Sep 17 00:00:00 2001 From: v_yutyi Date: Thu, 21 Sep 2023 17:57:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=202.5.4=20tree=20bugfix=20&=20magicBox?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/organization/mixin.js | 3 - .../organization/tree/OrganizationTree.vue | 58 +++---------------- 2 files changed, 8 insertions(+), 53 deletions(-) diff --git a/src/pages/src/components/organization/mixin.js b/src/pages/src/components/organization/mixin.js index 355d3bfc7..ed4c51fa8 100644 --- a/src/pages/src/components/organization/mixin.js +++ b/src/pages/src/components/organization/mixin.js @@ -136,9 +136,6 @@ export default { this.isDirectory = true; this.messageSuccess(msg); this.$emit('updateAcitveNode'); - this.$nextTick(() => { - this.topTreeHeight = this.$refs.treebox.offsetHeight - this.$refs.bottomTree.offsetHeight; - }); } catch (e) { console.warn(e); } diff --git a/src/pages/src/views/organization/tree/OrganizationTree.vue b/src/pages/src/views/organization/tree/OrganizationTree.vue index 137105523..cd392f3f5 100644 --- a/src/pages/src/views/organization/tree/OrganizationTree.vue +++ b/src/pages/src/views/organization/tree/OrganizationTree.vue @@ -8,11 +8,9 @@ - specific language governing permissions and limitations under the License. -->