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/views/system/password/index.vue | 5 ++++- Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-table.vue | 2 +- 2 files changed, 5 insertions(+), 2 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(); diff --git a/Source/plt-web/plt-web-ui/src/views/system/password/index.vue b/Source/plt-web/plt-web-ui/src/views/system/password/index.vue index 06f2980..99b37e2 100644 --- a/Source/plt-web/plt-web-ui/src/views/system/password/index.vue +++ b/Source/plt-web/plt-web-ui/src/views/system/password/index.vue @@ -419,7 +419,8 @@ this.checkboxlength = val.value; this.checkboxedit = this.checkboxlength.toString().split(","); - if (val.value !== undefined && val.value !== null) { + if (val.value !== undefined && val.value !== null && val.value.length > 0) { + this.form.requireCharCount = 1; if (this.checkboxlist === val.value) { return; } else { @@ -432,6 +433,8 @@ this.form.requireCharCount = ""; } } + }else { + this.form.requireCharCount = ""; } // 澶勭悊 蹇呭~绉嶇被閫夐」绂佺敤 -- Gitblit v1.9.3