fix: 修改云闪付判断按钮
This commit is contained in:
parent
08a81a11c8
commit
951d1902fb
|
@ -180,7 +180,8 @@
|
||||||
methods: {
|
methods: {
|
||||||
/* 立即领取 */
|
/* 立即领取 */
|
||||||
submit() {
|
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 (phoneReg.test(this.account) && this.confirmAccount) {
|
||||||
if (this.account === this.confirmAccount) {
|
if (this.account === this.confirmAccount) {
|
||||||
this.finalSubmit();
|
this.finalSubmit();
|
||||||
|
@ -190,7 +191,7 @@
|
||||||
} else {
|
} else {
|
||||||
this.tips('请输入正确的手机号');
|
this.tips('请输入正确的手机号');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 验证后 最终提交 */
|
/* 验证后 最终提交 */
|
||||||
|
|
|
@ -142,7 +142,8 @@
|
||||||
methods: {
|
methods: {
|
||||||
/* 立即领取 */
|
/* 立即领取 */
|
||||||
submit() {
|
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 (phoneReg.test(this.account) && this.confirmAccount) {
|
||||||
if (this.account === this.confirmAccount) {
|
if (this.account === this.confirmAccount) {
|
||||||
this.finalSubmit();
|
this.finalSubmit();
|
||||||
|
@ -152,7 +153,7 @@
|
||||||
} else {
|
} else {
|
||||||
this.tips('请输入正确的手机号');
|
this.tips('请输入正确的手机号');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 验证后 最终提交 */
|
/* 验证后 最终提交 */
|
||||||
|
|
|
@ -176,7 +176,8 @@
|
||||||
methods: {
|
methods: {
|
||||||
/* 立即领取 */
|
/* 立即领取 */
|
||||||
submit() {
|
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 (phoneReg.test(this.account) && this.confirmAccount) {
|
||||||
if (this.account === this.confirmAccount) {
|
if (this.account === this.confirmAccount) {
|
||||||
this.finalSubmit();
|
this.finalSubmit();
|
||||||
|
@ -186,7 +187,7 @@
|
||||||
} else {
|
} else {
|
||||||
this.tips('请输入正确的手机号');
|
this.tips('请输入正确的手机号');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 验证后 最终提交 */
|
/* 验证后 最终提交 */
|
||||||
|
|
5
ysf.html
5
ysf.html
|
@ -135,7 +135,8 @@
|
||||||
methods: {
|
methods: {
|
||||||
/* 立即领取 */
|
/* 立即领取 */
|
||||||
submit() {
|
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 (phoneReg.test(this.account) && this.confirmAccount) {
|
||||||
if (this.account === this.confirmAccount) {
|
if (this.account === this.confirmAccount) {
|
||||||
this.finalSubmit();
|
this.finalSubmit();
|
||||||
|
@ -145,7 +146,7 @@
|
||||||
} else {
|
} else {
|
||||||
this.tips('请输入正确的手机号');
|
this.tips('请输入正确的手机号');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 验证后 最终提交 */
|
/* 验证后 最终提交 */
|
||||||
|
|
Loading…
Reference in New Issue