From 7a310007b10a4c9227d57616d6cc008b5adf2211 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 21 Jul 2022 18:33:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/dv/apps/AppPdDv.vue | 1 - project/dv/apps/components/AiGrid.vue | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/project/dv/apps/AppPdDv.vue b/project/dv/apps/AppPdDv.vue index 560f0ac5..81a0c6a0 100644 --- a/project/dv/apps/AppPdDv.vue +++ b/project/dv/apps/AppPdDv.vue @@ -831,7 +831,6 @@ .top { flex: 1; - padding: 80px 60px; } .bottom { diff --git a/project/dv/apps/components/AiGrid.vue b/project/dv/apps/components/AiGrid.vue index d32d6c47..5d65d0fb 100644 --- a/project/dv/apps/components/AiGrid.vue +++ b/project/dv/apps/components/AiGrid.vue @@ -118,7 +118,7 @@ autoScale () { const treeWidth = this.$refs.tree.offsetWidth - const containerWidth = this.$refs.container.offsetWidth + const containerWidth = this.$refs.container.offsetWidth - 100 this.scale = treeWidth < containerWidth ? 1 : containerWidth / treeWidth this.x = '50%' this.y = '50%'