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