mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-18 21:26:44 +08:00
银行卡号校验规则修改
This commit is contained in:
@@ -455,7 +455,7 @@ export default {
|
|||||||
if (this.transfer.card.trim() === '') {
|
if (this.transfer.card.trim() === '') {
|
||||||
return this.$toast('请填写银行卡信息')
|
return this.$toast('请填写银行卡信息')
|
||||||
}
|
}
|
||||||
let regx = /^(\d{16}|\d{18}|\d{19})$/
|
let regx = /^(\d{16,19})$/
|
||||||
if (!regx.test(this.transfer.card)) {
|
if (!regx.test(this.transfer.card)) {
|
||||||
return this.$toast('银行卡号不符合规则')
|
return this.$toast('银行卡号不符合规则')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user