fix: 修改判断条件
This commit is contained in:
parent
774560d1ec
commit
08a81a11c8
|
@ -186,7 +186,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
/* 立即领取 */
|
/* 立即领取 */
|
||||||
submit() {
|
submit() {
|
||||||
if (this.ysf && this.ysf.available != 1 || this.ysf.available != 11) 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();
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
} else {
|
} else {
|
||||||
this.tips('请输入正确的手机号');
|
this.tips('请输入正确的手机号');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* 验证后 最终提交 */
|
/* 验证后 最终提交 */
|
||||||
|
|
Loading…
Reference in New Issue