mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 20:42:52 +08:00
更改银行卡位数校验问题 增加18位卡号
This commit is contained in:
@@ -85,7 +85,7 @@ Validator.extend('bankCard', {
|
||||
return field + '格式不正确,请您填写正确的格式'
|
||||
},
|
||||
validate: value => {
|
||||
return /^(\d{16}|\d{19})$/.test(value)
|
||||
return /^(\d{16}|\d{18}|\d{19})$/.test(value)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user