| | |
| | | @selectArea="onSelectArea" |
| | | :icon="icon" |
| | | /> |
| | | |
| | | <ExInput |
| | | :label="$t('手机号')" |
| | | :placeholderText="$t('请输入手机号')" |
| | | v-model="phone" |
| | | /> |
| | | <ExInput |
| | | :label="$t('设置密码')" |
| | | :placeholderText="$t('密码(6-12个字符)')" |
| | |
| | | /> |
| | | <ExInput |
| | | :label="$t('确认资金密码')" |
| | | :placeholderText="$t('确认资金密码')" |
| | | :placeholderText="$t('请确认资金密码')" |
| | | v-model="resafeword" |
| | | typeText="password" |
| | | /> |
| | |
| | | username: "", |
| | | password: "", |
| | | repassword: "", |
| | | phone: "", |
| | | resafeword: "", |
| | | safeword: "", |
| | | invitCode: "", //邀请码 |
| | |
| | | this.activeIndex == 0 || this.activeIndex == 1 |
| | | ? this.username |
| | | : `${this.username}`, |
| | | phone: this.phone, |
| | | password: this.password, |
| | | re_password: this.repassword, |
| | | re_safeword: this.resafeword, |
| | |
| | | }) |
| | | .then((res) => { |
| | | this.GET_USERINFO(res.data); |
| | | // if (this.activeIndex == 0 || this.activeIndex == 2) { |
| | | this.$router.push("/finish"); |
| | | // } else { |
| | | // this.$router.push('/userCenter') |
| | | // this.$router.push({ |
| | | // name: "verify", |
| | | // query: { |
| | | // type: this.activeIndex, |
| | | // account: |
| | | // this.activeIndex == 1 ? this.username : `${this.username}`, |
| | | // }, |
| | | // }); |
| | | // } |
| | | // if (this.activeIndex == 0 || this.activeIndex == 2) { |
| | | this.$router.push("/finish"); |
| | | // } else { |
| | | // this.$router.push('/userCenter') |
| | | // this.$router.push({ |
| | | // name: "verify", |
| | | // query: { |
| | | // type: this.activeIndex, |
| | | // account: |
| | | // this.activeIndex == 1 ? this.username : `${this.username}`, |
| | | // }, |
| | | // }); |
| | | // } |
| | | }) |
| | | .catch((error) => { |
| | | if (error.code === "ECONNABORTED") { |