From 892b9f69e5f3cfad707f8590b7df404d09a7bdf0 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 1 Sep 2022 09:48:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E9=94=99=E4=BD=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/CollectionType/index.vue | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/jero-web/src/components/CollectionType/index.vue b/jero-web/src/components/CollectionType/index.vue index 411eef23b..2f8d6386c 100644 --- a/jero-web/src/components/CollectionType/index.vue +++ b/jero-web/src/components/CollectionType/index.vue @@ -125,7 +125,7 @@
- @@ -690,6 +690,17 @@ }) }, methods: { + selectChange(val){ + this.$nextTick(() => { + let element = document.querySelectorAll( + ".tableclassname .ant-table-expanded-row" + ); + let len = element.length / 2; + for (let i = 0; i < len; i++) { + element[i + len].style.height = element[i].offsetHeight + "px"; + } + }); + }, onInput(r) { let value = r.target.value r.target.value = value.replace(/[^\u4e00-\u9fa5]/g, '') @@ -770,7 +781,9 @@ height: 38px !important; line-height: 38px !important; } - + .ant-select-selection-selected-value{ + height:100%; + } .selectWid .ant-select-selection__rendered { line-height: 36px !important; } @@ -781,9 +794,12 @@ height: calc(100% - 100px); overflow: auto; } -/deep/ .ant-select-allow-clear{ - height: 30px; -} +///deep/ .ant-select-allow-clear{ +// height: 30px; +//} + /deep/.ant-table-row{ + height:69px; + } .text { margin-right: 10px; }