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 646fc7216..06f2fb066 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 0e894ae71..dde415ff1 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 228ee05a4..49cf919e6 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 f674f2786..27d6b241e 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 eb935db59..622a2d5da 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 c311791bd..9af59cca4 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 63e40e8db..7b00bf470 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 eaf6d90b7..809f6b1d3 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 e61f8e3e3..28f0122d1 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 8409024df..391b2bd62 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 82ccf87f4..dd8dd2a9c 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 529c024e5..cd07869ab 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 cc8155c64..71475d6f3 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 bbe1445fd..4c6adef06 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 36a9974a0..e9676c1ad 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 @@