From e73556fa677f785a6dbaf7c63489e173d856d124 Mon Sep 17 00:00:00 2001 From: v_yutyi Date: Thu, 21 Sep 2023 21:15:57 +0800 Subject: [PATCH] fix: 2.5.4 tree bugfix --- .../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. -->