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 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

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