fix: 修改云闪付判断按钮

This commit is contained in:
zhangds 2024-06-18 13:47:09 +08:00
parent 08a81a11c8
commit 951d1902fb
4 changed files with 72 additions and 68 deletions

View File

@ -180,7 +180,8 @@
methods: {
/* 立即领取 */
submit() {
if (this.ysf.available != 1 || this.ysf.available != 11) return;
// if (this.ysf.available != 1) return;
if ([1, 11].includes(this.ysf.available)) {
if (phoneReg.test(this.account) && this.confirmAccount) {
if (this.account === this.confirmAccount) {
this.finalSubmit();
@ -190,7 +191,7 @@
} else {
this.tips('请输入正确的手机号');
}
}
},
/* 验证后 最终提交 */

View File

@ -142,7 +142,8 @@
methods: {
/* 立即领取 */
submit() {
if (this.ysf.available != 1 || this.ysf.available != 11) return;
// if (this.ysf.available != 1) return;
if ([1, 11].includes(this.ysf.available)) {
if (phoneReg.test(this.account) && this.confirmAccount) {
if (this.account === this.confirmAccount) {
this.finalSubmit();
@ -152,7 +153,7 @@
} else {
this.tips('请输入正确的手机号');
}
}
},
/* 验证后 最终提交 */

View File

@ -176,7 +176,8 @@
methods: {
/* 立即领取 */
submit() {
if (this.ysf.available != 1 || this.ysf.available != 11) return;
// if (this.ysf.available != 1) return;
if ([1, 11].includes(this.ysf.available)) {
if (phoneReg.test(this.account) && this.confirmAccount) {
if (this.account === this.confirmAccount) {
this.finalSubmit();
@ -186,7 +187,7 @@
} else {
this.tips('请输入正确的手机号');
}
}
},
/* 验证后 最终提交 */

View File

@ -135,7 +135,8 @@
methods: {
/* 立即领取 */
submit() {
if (this.ysf.available != 1 || this.ysf.available != 11) return;
// if (this.ysf.available != 1) return;
if ([1, 11].includes(this.ysf.available)) {
if (phoneReg.test(this.account) && this.confirmAccount) {
if (this.account === this.confirmAccount) {
this.finalSubmit();
@ -145,7 +146,7 @@
} else {
this.tips('请输入正确的手机号');
}
}
},
/* 验证后 最终提交 */