Browse Source

伊宁项目更改相关 统一app相关 变更用户密码校验规则

1037015548@qq.com 1 year ago
parent
commit
d94d4de131
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ruoyi-admin/src/main/resources/templates/system/user/add.html

+ 2 - 1
ruoyi-admin/src/main/resources/templates/system/user/add.html

@@ -206,7 +206,8 @@
     });
     });
 
 
     function submitHandler() {
     function submitHandler() {
-        var chrtype = [[${#strings.defaultString(@config.getKey('sys.account.chrtype'), 0)}]];
+        // var chrtype = [[${#strings.defaultString(@config.getKey('sys.account.chrtype'), 0)}]];
+        var chrtype = 4;
         var password = $("#password").val();
         var password = $("#password").val();
         if ($.validate.form() && checkpwd(chrtype, password)) {
         if ($.validate.form() && checkpwd(chrtype, password)) {
             var data = $("#form-user-add").serializeArray();
             var data = $("#form-user-add").serializeArray();