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