From 46ad19a20591681dde550c1020389ea66d58f425 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 25 十一月 2024 16:46:19 +0800
Subject: [PATCH] 密码策略必填种类默认选中组合方式为1种&&UI上下文切换Tab栏表格高度不一致问题

---
 Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue
index d964c82..cc24f79 100644
--- a/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue
+++ b/Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue
@@ -211,7 +211,7 @@
     isShow: {
       handler(newval) {
         if (newval && this.$el.clientHeight > 50) {
-          this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5;
+          this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - (this.$children[0].$children[2].$el.clientHeight || 57) - 5;
         }
         if(newval){
           this.handleRefresh();

--
Gitblit v1.9.3