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] 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 { };