取消username,email字段失去焦点再发送验证请求
This commit is contained in:
@@ -4,7 +4,6 @@ require(["jquery", "bs_alert", "csrf", "validation"], function ($, bs_alert, csr
|
|||||||
framework: "bootstrap",
|
framework: "bootstrap",
|
||||||
fields: {
|
fields: {
|
||||||
username: {
|
username: {
|
||||||
trigger: 'blur',
|
|
||||||
validators: {
|
validators: {
|
||||||
notEmpty: {
|
notEmpty: {
|
||||||
message: "请填写用户名"
|
message: "请填写用户名"
|
||||||
@@ -55,7 +54,6 @@ require(["jquery", "bs_alert", "csrf", "validation"], function ($, bs_alert, csr
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
email: {
|
email: {
|
||||||
trigger: 'blur',
|
|
||||||
validators: {
|
validators: {
|
||||||
notEmpty: {
|
notEmpty: {
|
||||||
message: "请填写电子邮箱邮箱地址"
|
message: "请填写电子邮箱邮箱地址"
|
||||||
|
|||||||
Reference in New Issue
Block a user