Commit c4b1d832 authored by zhangyanni's avatar zhangyanni

验证码提示顺序修改

parent 1a93f953
......@@ -71,9 +71,9 @@ module.exports = {
setLoginPassword:"设置登录密码en",
placeholderPhoneCode:"请输入手机验证码en",
placeholderEmailCode:"请输入邮箱验证码en",
passwordDescriptionOne:"1. 密码长度为6-18个字符en",
passwordDescriptionTwo:"2. 只能包含数字、字母和标点符号en",
passwordDescriptionThree:"3. 字母、数字、标点符号至少包含两种en",
passwordDescriptionOne:"1. 密码长度为6-18个字符en;",
passwordDescriptionTwo:"2. 只能包含数字、字母和标点符号en;",
passwordDescriptionThree:"3. 字母、数字、标点符号至少包含两种en;",
protocolTitle:"我已阅读并同意《TechBook》服务协议en",
loginTitle:"已有账号?,马上登录en",
chooseChannel:"请选择注册来源en",
......
......@@ -71,9 +71,9 @@ module.exports = {
setLoginPassword:"设置登录密码",
placeholderPhoneCode:"请输入手机验证码",
placeholderEmailCode:"请输入邮箱验证码",
passwordDescriptionOne:"1. 密码长度为6-18个字符",
passwordDescriptionTwo:"2. 只能包含数字、字母和标点符号",
passwordDescriptionThree:"3. 字母、数字、标点符号至少包含两种",
passwordDescriptionOne:"1. 密码长度为6-18个字符;",
passwordDescriptionTwo:"2. 只能包含数字、字母和标点符号;",
passwordDescriptionThree:"3. 字母、数字、标点符号至少包含两种;",
protocolTitle:"我已阅读并同意《TechBook》服务协议",
loginTitle:"已有账号?,马上登录",
chooseChannel:"请选择注册来源",
......
......@@ -226,9 +226,9 @@
email:this.emailYzCodeForm.email,
valiType:2
}, that =this;
that.$message.success(that.$t("commonTips.successEmailCodeMessage"));
api.getYZEmailCodeAxios(params).then((res)=>{
if(res.code==0){
that.$message.success(that.$t("commonTips.successEmailCodeMessage"));
that.timeoutFunc();
}else{
this.$message.error(res.msg)
......
......@@ -217,9 +217,9 @@
phone:this.yzCodeForm.phone,
valiType:3
}, that =this;
that.$message.success(that.$t("commonTips.successPhoneCodeMessage"));
api.getYZPhoneCodeAxios(params).then((res)=>{
if(res.code==0){
that.$message.success(that.$t("commonTips.successPhoneCodeMessage"));
that.timeoutFunc();
}else{
this.$message.error(res.msg)
......
......@@ -215,9 +215,9 @@
email:this.registerForm.email,
valiType:1
}, that =this;
that.$message.success("验证码已经发至您的邮箱,请查阅后输入验证码登录");
api.getYZEmailCodeAxios(params).then((res)=>{
if(res.code==0){
that.$message.success("验证码已经发至您的邮箱,请查阅后输入验证码登录");
that.timeoutFunc();
}else{
this.$message.error(res.msg)
......
......@@ -214,9 +214,9 @@
phone:this.registerForm.phone,
valiType:0
}, that =this;
that.$message.success("手机验证码已发送您的手机,请查阅后输入验证码登录");
api.getYZPhoneCodeAxios(params).then((res)=>{
if(res.code==0){
that.$message.success("手机验证码已发送您的手机,请查阅后输入验证码登录");
that.timeoutFunc();
}else{
this.$message.error(res.msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment