|
|
|
@ -53,7 +53,7 @@ |
|
|
|
<label @click="showType('repwdType')"></label> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="form-group row"> |
|
|
|
<div class="form-group row" v-if="showInvite"> |
|
|
|
<input type="text" class="form-control" :disabled="$route.query.invite_code?true:false" v-model="user.parentCode" :placeholder="`${$t('login.referrer')}`" /> |
|
|
|
<!-- (${$t('login.optional')}) --> |
|
|
|
</div> |
|
|
|
@ -201,7 +201,8 @@ export default { |
|
|
|
emailCode: null |
|
|
|
}, |
|
|
|
|
|
|
|
codes: new Array(6) |
|
|
|
codes: new Array(6), |
|
|
|
showInvite: false |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
@ -533,6 +534,9 @@ export default { |
|
|
|
if (document.body.clientWidth < 750) { |
|
|
|
window.location.href = this.Globals.mobileUrl + '/#/pages/reg/index?invite_code=' + this.$route.query.invite_code |
|
|
|
} |
|
|
|
this.showInvite = false; |
|
|
|
}else{ |
|
|
|
this.showInvite = true; |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|