|
@@ -98,6 +98,12 @@ export default {
|
|
// if (!reg.phone.test(this.phone)) {
|
|
// if (!reg.phone.test(this.phone)) {
|
|
// return
|
|
// return
|
|
// }
|
|
// }
|
|
|
|
+ let resp = await this.$http
|
|
|
|
+ .post('/sso/user/checkUser', {phoneNum: this.phone})
|
|
|
|
+
|
|
|
|
+ if (resp.data.code === 0) {
|
|
|
|
+ return this.$toast.show('warn', this.langToast[3008])
|
|
|
|
+ }
|
|
let res = await this.$store.dispatch('getAuthCode', {
|
|
let res = await this.$store.dispatch('getAuthCode', {
|
|
phone: this.phone,
|
|
phone: this.phone,
|
|
code: Number(this.codeActive[1].substr(1))
|
|
code: Number(this.codeActive[1].substr(1))
|