重构代码:支持两个控件比较

This commit is contained in:
Argo-MacBookPro 2018-06-07 14:00:07 +08:00
parent 80e8055d67
commit c0cb4b77fd
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@
},
escapeCssMeta: function (string) {
return string.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g, "\\$1");
}
},
settings: $.validator.defaults
}, this.defaults(), options)
this.$element.on('input.lgb.validate', this.options.childClass, function () {
if (!that.validElement(this)) $(this).lgbTooltip('show');