From c1f1a0f884af958f735c1eefbbc0992c5928cc1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 3 Mar 2022 16:21:04 +0800 Subject: [PATCH] =?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/xm/core/xmProjectGroup/XmProjectGroupSelect.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/xm/core/xmProjectGroup/XmProjectGroupSelect.vue b/src/views/xm/core/xmProjectGroup/XmProjectGroupSelect.vue index 1c2b42a7..fc36fc43 100644 --- a/src/views/xm/core/xmProjectGroup/XmProjectGroupSelect.vue +++ b/src/views/xm/core/xmProjectGroup/XmProjectGroupSelect.vue @@ -13,7 +13,7 @@ 选择产品 - +

{{item.groupName}} @@ -102,6 +102,7 @@ import XmProductSelect from '../xmProduct/XmProductSelect.vue'; xmProjectGroupFormworkSels: [], selectProjectVisible:false, selectProductVisible:false, + maxTableHeight:300, /**end 自定义属性请在上面加 请加备注**/ } }, //end data @@ -201,7 +202,8 @@ import XmProductSelect from '../xmProduct/XmProductSelect.vue'; XmProjectList,XmProductSelect }, mounted() { - this.$nextTick(() => { + this.$nextTick(() => { + this.maxTableHeight = util.calcTableMaxHeight(this.$refs.table.$el); if(this.selGroups){ this.selGroups.forEach(i=>{ if(i.groupUsers){