|
@@ -521,6 +521,7 @@ export default {
|
|
form: {
|
|
form: {
|
|
account: "",
|
|
account: "",
|
|
password: "",
|
|
password: "",
|
|
|
|
+ recommend_code: ""
|
|
},
|
|
},
|
|
checked: false,
|
|
checked: false,
|
|
codeShow: false,
|
|
codeShow: false,
|
|
@@ -581,6 +582,13 @@ export default {
|
|
}, 200)
|
|
}, 200)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ created () {
|
|
|
|
+ var code = (this.$route.params.code || '')
|
|
|
|
+ if (code) {
|
|
|
|
+ this.form.recommend_code = code
|
|
|
|
+ setSession('recommend_code', JSON.stringify(code))
|
|
|
|
+ }
|
|
|
|
+ },
|
|
mounted() {
|
|
mounted() {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.readonly = false
|
|
this.readonly = false
|
|
@@ -647,7 +655,9 @@ export default {
|
|
account: account,
|
|
account: account,
|
|
password: this.form.password,
|
|
password: this.form.password,
|
|
verifyCode: this.form.verifyCode,
|
|
verifyCode: this.form.verifyCode,
|
|
- area_code: this.phoneCountry.area_code
|
|
|
|
|
|
+ recommend_code: this.form.recommend_code,
|
|
|
|
+ area_code: this.phoneCountry.area_code,
|
|
|
|
+ client: this.getClient(),
|
|
})
|
|
})
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.$notify({
|
|
this.$notify({
|
|
@@ -835,6 +845,9 @@ export default {
|
|
description: this.$t('html.description'),
|
|
description: this.$t('html.description'),
|
|
keywords: this.$t('html.keywords')
|
|
keywords: this.$t('html.keywords')
|
|
})
|
|
})
|
|
|
|
+ if (!this.sendDisable) {
|
|
|
|
+ this.sendText = this.$t('register.l11')
|
|
|
|
+ }
|
|
if (this.isLogin) {
|
|
if (this.isLogin) {
|
|
updateUserLanguage({
|
|
updateUserLanguage({
|
|
language: lan
|
|
language: lan
|