|
|
@@ -59,6 +59,7 @@
|
|
|
v-model="step2.password"
|
|
|
:state="state.password"
|
|
|
type="password"
|
|
|
+ auto-complete="new-password"
|
|
|
@input.native="validatePassword"
|
|
|
@blur.native.capture="validatePasswordTip"></mt-field>
|
|
|
<template v-if="step2.password">
|
|
|
@@ -71,6 +72,7 @@
|
|
|
v-model="step2.password"
|
|
|
:state="state.password"
|
|
|
type="password"
|
|
|
+ auto-complete="new-password"
|
|
|
@blur.native.capture="validatePasswordTipHas"></mt-field>
|
|
|
<template v-if="!step2.password">
|
|
|
<p class="pwd" style="text-align:right;"><a href="/reset/forgetPasswordValidationAccount">忘记密码?</a></p>
|
|
|
@@ -84,6 +86,7 @@
|
|
|
v-model="step2.confirm"
|
|
|
:state="state.confirm"
|
|
|
type="password"
|
|
|
+ auto-complete="new-password"
|
|
|
@blur.native.capture="validateConfirm"></mt-field>
|
|
|
</div>
|
|
|
<div class="page-part" v-if="!hasEmail">
|
|
|
@@ -115,7 +118,7 @@
|
|
|
vipName: 'error',
|
|
|
password: 'error',
|
|
|
confirm: 'error',
|
|
|
- email: 'error'
|
|
|
+ email: 'success'
|
|
|
},
|
|
|
step1: {
|
|
|
mobile: '',
|
|
|
@@ -193,8 +196,8 @@
|
|
|
iconClass: 'el-icon-error'
|
|
|
})
|
|
|
}
|
|
|
- }).catch(() => {
|
|
|
- this.downToast('请检查网络是否正常或联系服务商')
|
|
|
+ }).catch((err) => {
|
|
|
+ this.downToast(err.errMsg)
|
|
|
})
|
|
|
} else {
|
|
|
this.downToast('请点击先获取验证码信息')
|
|
|
@@ -231,9 +234,9 @@
|
|
|
}
|
|
|
}, 1000)
|
|
|
}
|
|
|
- }).catch(() => {
|
|
|
+ }).catch((err) => {
|
|
|
this.$indicator.close()
|
|
|
- this.downToast('请检查网络是否正常或联系服务商')
|
|
|
+ this.downToast(err.errMsg)
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
@@ -262,9 +265,9 @@
|
|
|
response.data.content.hasRegister ? this.hasRegister = true : this.hasRegister = false
|
|
|
this.step = 2
|
|
|
}
|
|
|
- }).catch(() => {
|
|
|
+ }).catch((err) => {
|
|
|
this.$indicator.close()
|
|
|
- this.downToast('请检查网络是否正常或联系服务商')
|
|
|
+ this.downToast(err.errMsg)
|
|
|
})
|
|
|
}
|
|
|
},
|
|
|
@@ -396,13 +399,13 @@
|
|
|
} else {
|
|
|
this.state.email = 'success'
|
|
|
}
|
|
|
- }).catch(() => {
|
|
|
- this.downToast('请检查网络是否正常或联系服务商')
|
|
|
+ }).catch((err) => {
|
|
|
+ this.downToast(err.errMsg)
|
|
|
})
|
|
|
}
|
|
|
} else {
|
|
|
- this.downToast('请填写联系邮箱信息')
|
|
|
- this.state.email = 'error'
|
|
|
+ // this.downToast('请填写联系邮箱信息')
|
|
|
+ this.state.email = 'success'
|
|
|
}
|
|
|
},
|
|
|
// 注册请求方法
|
|
|
@@ -455,9 +458,9 @@
|
|
|
} else {
|
|
|
this.downToast(response.data.errMsg)
|
|
|
}
|
|
|
- }).catch(() => {
|
|
|
+ }).catch((err) => {
|
|
|
this.$indicator.close()
|
|
|
- this.downToast('请检查网络是否正常或联系服务商')
|
|
|
+ this.downToast(err.errMsg)
|
|
|
})
|
|
|
},
|
|
|
// 企业注册
|