From 994cbe93ba58f41d9af4bb7e37006168157b29e9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-JT599KC\\Luan Shanshan" Date: Tue, 28 Dec 2021 09:24:57 +0800 Subject: [PATCH 1/2] test --- src/views/factoryModel/basicUnit/index.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/factoryModel/basicUnit/index.vue b/src/views/factoryModel/basicUnit/index.vue index 1b0f983..c344209 100644 --- a/src/views/factoryModel/basicUnit/index.vue +++ b/src/views/factoryModel/basicUnit/index.vue @@ -43,7 +43,8 @@ size="mini" style="width: 100%" border - v-if="tableHeight" :height="tableHeight" + v-if="tableHeight" + :height="tableHeight" > { + mounted() { + this.$nextTick(() => { this.tableHeight = this.calculationTableHeight( this.$refs.tableRef, 120 @@ -163,8 +164,8 @@ export default { }; From b8fa95b223dd650ce766c51fd6f400fcdacb6c35 Mon Sep 17 00:00:00 2001 From: "DESKTOP-JT599KC\\Luan Shanshan" Date: Tue, 28 Dec 2021 15:37:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/workbench/homePage/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/plan/workbench/homePage/index.vue b/src/views/plan/workbench/homePage/index.vue index 1f74346..eb6fd54 100644 --- a/src/views/plan/workbench/homePage/index.vue +++ b/src/views/plan/workbench/homePage/index.vue @@ -55,7 +55,7 @@ export default { }, mounted () { this.dragChangeSize((topHeight,bottomHeight) => { - this.calculateTableHeight(topHeight - 70) + this.calculateTableHeight(topHeight - 110) this.calculateFormalTableHeight(bottomHeight - 70) },{barHeight:50}); },