微信二维码扫描后跳转页面,或者提示超时 & 余额提现取消校验规则
This commit is contained in:
@@ -95,7 +95,7 @@ Page({
|
||||
this.data.money = e.detail.value;
|
||||
},
|
||||
|
||||
// 确认提现
|
||||
// 确认提现
|
||||
withdrawalClick(e) {
|
||||
if (!this.data.cardholder) {
|
||||
wx.showToast({
|
||||
@@ -111,9 +111,9 @@ Page({
|
||||
})
|
||||
return;
|
||||
}
|
||||
if (this.data.bankCard.length != 16) {
|
||||
if (this.data.bankCard.length < 13 || this.data.bankCard.length > 19) {
|
||||
wx.showToast({
|
||||
title: '请输入16位银行卡号',
|
||||
title: '请输入正确银行卡号',
|
||||
icon: 'none',
|
||||
})
|
||||
return;
|
||||
@@ -175,4 +175,4 @@ Page({
|
||||
})
|
||||
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user