按下不触发校验,防止造成资源浪费

This commit is contained in:
RuoYi
2019-03-17 22:27:44 +08:00
parent a805d23afe
commit f7a9f33882
15 changed files with 15 additions and 0 deletions

View File

@@ -39,6 +39,7 @@
var prefix = ctx + "system/dict";
$("#form-dict-add").validate({
onkeyup: false,
rules:{
dictType:{
minlength: 5,

View File

@@ -40,6 +40,7 @@
var prefix = ctx + "system/dict";
$("#form-dict-edit").validate({
onkeyup: false,
rules:{
dictType:{
minlength: 5,