13131313邀请码弹窗修改
This commit is contained in:
parent
2836b0712f
commit
a5180be20f
|
|
@ -708,8 +708,11 @@ export default {
|
||||||
confirmInviteCodeBeforeSubmit(callback) {
|
confirmInviteCodeBeforeSubmit(callback) {
|
||||||
this.submitCallback = callback;
|
this.submitCallback = callback;
|
||||||
|
|
||||||
|
// 如果邀请码是13131313,显示确认弹窗,邀请人显示为"暂无邀请人"
|
||||||
|
if (this.formData.invite_code_other === '13131313') {
|
||||||
|
this.showInviteConfirmPopup({ invite_code: '13131313', name: '暂无邀请人' });
|
||||||
|
} else if (this.inviterInfo && this.formData.invite_code_other) {
|
||||||
// 如果有已验证的邀请人信息,显示确认弹窗
|
// 如果有已验证的邀请人信息,显示确认弹窗
|
||||||
if (this.inviterInfo && this.formData.invite_code_other) {
|
|
||||||
this.showInviteConfirmPopup(this.inviterInfo);
|
this.showInviteConfirmPopup(this.inviterInfo);
|
||||||
} else {
|
} else {
|
||||||
// 没有邀请码或未验证,直接提交
|
// 没有邀请码或未验证,直接提交
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue