diff --git a/ruoyi-admin/src/main/resources/templates/system/config/add.html b/ruoyi-admin/src/main/resources/templates/system/config/add.html index 646fc721..06f2fb06 100644 --- a/ruoyi-admin/src/main/resources/templates/system/config/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/config/add.html @@ -45,6 +45,7 @@ var prefix = ctx + "system/config"; $("#form-config-add").validate({ + onkeyup: false, rules: { configKey: { remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/config/edit.html b/ruoyi-admin/src/main/resources/templates/system/config/edit.html index 0e894ae7..dde415ff 100644 --- a/ruoyi-admin/src/main/resources/templates/system/config/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/config/edit.html @@ -46,6 +46,7 @@ var prefix = ctx + "system/config"; $("#form-config-edit").validate({ + onkeyup: false, rules: { configKey: { remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/dept/add.html b/ruoyi-admin/src/main/resources/templates/system/dept/add.html index 228ee05a..49cf919e 100644 --- a/ruoyi-admin/src/main/resources/templates/system/dept/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/dept/add.html @@ -61,6 +61,7 @@ var prefix = ctx + "system/dept"; $("#form-dept-add").validate({ + onkeyup: false, rules:{ deptName:{ remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/dept/edit.html b/ruoyi-admin/src/main/resources/templates/system/dept/edit.html index f674f278..27d6b241 100644 --- a/ruoyi-admin/src/main/resources/templates/system/dept/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/dept/edit.html @@ -62,6 +62,7 @@ var prefix = ctx + "system/dept"; $("#form-dept-edit").validate({ + onkeyup: false, rules:{ deptName:{ remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/dict/type/add.html b/ruoyi-admin/src/main/resources/templates/system/dict/type/add.html index eb935db5..622a2d5d 100644 --- a/ruoyi-admin/src/main/resources/templates/system/dict/type/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/dict/type/add.html @@ -39,6 +39,7 @@ var prefix = ctx + "system/dict"; $("#form-dict-add").validate({ + onkeyup: false, rules:{ dictType:{ minlength: 5, diff --git a/ruoyi-admin/src/main/resources/templates/system/dict/type/edit.html b/ruoyi-admin/src/main/resources/templates/system/dict/type/edit.html index c311791b..9af59cca 100644 --- a/ruoyi-admin/src/main/resources/templates/system/dict/type/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/dict/type/edit.html @@ -40,6 +40,7 @@ var prefix = ctx + "system/dict"; $("#form-dict-edit").validate({ + onkeyup: false, rules:{ dictType:{ minlength: 5, diff --git a/ruoyi-admin/src/main/resources/templates/system/menu/add.html b/ruoyi-admin/src/main/resources/templates/system/menu/add.html index 63e40e8d..7b00bf47 100644 --- a/ruoyi-admin/src/main/resources/templates/system/menu/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/menu/add.html @@ -74,6 +74,7 @@ var prefix = ctx + "system/menu"; $("#form-menu-add").validate({ + onkeyup: false, rules:{ menuType:{ required:true, diff --git a/ruoyi-admin/src/main/resources/templates/system/menu/edit.html b/ruoyi-admin/src/main/resources/templates/system/menu/edit.html index eaf6d90b..809f6b1d 100644 --- a/ruoyi-admin/src/main/resources/templates/system/menu/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/menu/edit.html @@ -80,6 +80,7 @@ }); $("#form-menu-edit").validate({ + onkeyup: false, rules:{ menuType:{ required:true, diff --git a/ruoyi-admin/src/main/resources/templates/system/post/add.html b/ruoyi-admin/src/main/resources/templates/system/post/add.html index e61f8e3e..28f0122d 100644 --- a/ruoyi-admin/src/main/resources/templates/system/post/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/post/add.html @@ -45,6 +45,7 @@ var prefix = ctx + "system/post"; $("#form-post-add").validate({ + onkeyup: false, rules:{ postName:{ remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/post/edit.html b/ruoyi-admin/src/main/resources/templates/system/post/edit.html index 8409024d..391b2bd6 100644 --- a/ruoyi-admin/src/main/resources/templates/system/post/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/post/edit.html @@ -46,6 +46,7 @@ var prefix = ctx + "system/post"; $("#form-post-edit").validate({ + onkeyup: false, rules:{ postName:{ remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/role/add.html b/ruoyi-admin/src/main/resources/templates/system/role/add.html index 82ccf87f..dd8dd2a9 100644 --- a/ruoyi-admin/src/main/resources/templates/system/role/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/role/add.html @@ -66,6 +66,7 @@ $("#form-role-add").validate({ rules:{ + onkeyup: false, roleName:{ remote: { url: ctx + "system/role/checkRoleNameUnique", diff --git a/ruoyi-admin/src/main/resources/templates/system/role/edit.html b/ruoyi-admin/src/main/resources/templates/system/role/edit.html index 529c024e..cd07869a 100644 --- a/ruoyi-admin/src/main/resources/templates/system/role/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/role/edit.html @@ -66,6 +66,7 @@ }); $("#form-role-edit").validate({ + onkeyup: false, rules:{ roleName:{ remote: { diff --git a/ruoyi-admin/src/main/resources/templates/system/user/add.html b/ruoyi-admin/src/main/resources/templates/system/user/add.html index cc8155c6..71475d6f 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/add.html @@ -141,6 +141,7 @@ var prefix = ctx + "system/user"; $("#form-user-add").validate({ + onkeyup: false, rules:{ loginName:{ minlength: 2, diff --git a/ruoyi-admin/src/main/resources/templates/system/user/edit.html b/ruoyi-admin/src/main/resources/templates/system/user/edit.html index bbe1445f..4c6adef0 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/edit.html @@ -132,6 +132,7 @@ var prefix = ctx + "system/user"; $("#form-user-edit").validate({ + onkeyup: false, rules:{ email:{ email:true, diff --git a/ruoyi-admin/src/main/resources/templates/system/user/profile/edit.html b/ruoyi-admin/src/main/resources/templates/system/user/profile/edit.html index 36a9974a..e9676c1a 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/profile/edit.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/profile/edit.html @@ -55,6 +55,7 @@