Fix style
This commit is contained in:
parent
a525df32c9
commit
3c9c8052f7
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ const registration = {
|
||||||
this.$router.push('/main/all')
|
this.$router.push('/main/all')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.getCaptcha().then(cpt => this.captcha = cpt)
|
this.getCaptcha().then(cpt => { this.captcha = cpt })
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
token () { return this.$route.params.token },
|
token () { return this.$route.params.token },
|
||||||
|
@ -48,8 +48,8 @@ const registration = {
|
||||||
async submit () {
|
async submit () {
|
||||||
this.user.nickname = this.user.username
|
this.user.nickname = this.user.username
|
||||||
this.user.token = this.token
|
this.user.token = this.token
|
||||||
this.user.captcha_solution = this.captcha.solution;
|
this.user.captcha_solution = this.captcha.solution
|
||||||
this.user.captcha_token = this.captcha.token;
|
this.user.captcha_token = this.captcha.token
|
||||||
|
|
||||||
this.$v.$touch()
|
this.$v.$touch()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue