银行卡正则
This commit is contained in:
parent
76320d2038
commit
3afb48fd08
@ -1407,7 +1407,7 @@ const handleSubmit = (done) => {
|
||||
return false
|
||||
}
|
||||
if (modalForm.bank_card_code) {
|
||||
const reg = /^[0-9]{9,18}$/;
|
||||
const reg = /^[0-9]{9,19}$/;
|
||||
if (!reg.test(modalForm.bank_card_code)) {
|
||||
proxy.$notification.error("请输入正确的银行卡号");
|
||||
return false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user